ember-fastboot-server
Advanced tools
Comparing version 0.6.1 to 0.6.2
{ | ||
"name": "ember-fastboot-server", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"description": "Production server for running Ember applications using FastBoot", | ||
@@ -5,0 +5,0 @@ "main": "./lib/server", |
@@ -77,1 +77,11 @@ # Ember FastBoot Server | ||
``` | ||
You can also serve Ember's static assets (compiled JavaScript and CSS files) or public | ||
files (like images or fonts) without using a CDN by adding extra routes: | ||
```js | ||
app.use('/assets', express.static('dist/assets')); | ||
app.use('/images', express.static('dist/images')); | ||
app.use('/fonts', express.static('dist/fonts')); | ||
app.get('/*', server.middleware()); | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17897282
86