serve-handler
Advanced tools
Comparing version 3.1.0 to 3.1.1
{ | ||
"name": "serve-handler", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "The routing foundation of `serve` and static deployments on Now", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -263,4 +263,18 @@ # serve-handler | ||
## Use Cases | ||
There are two environments in which [ZEIT](https://zeit.co) uses this package: | ||
### Production | ||
When deploying your static project to [Now](https://zeit.co/now), you can add any of the [configuration options](https://github.com/zeit/serve-handler#options) to the `static` property within `now.json` and they will be considered when handling requests to your deployment. | ||
### Development | ||
When testing your project on your local device, we suggest using [serve](https://github.com/zeit/serve). | ||
Since it comes with support for `serve-handler` out of the box, you can create a `serve.json` file to customize its behavior. It will also read the configuration from `static` inside `now.json`. | ||
## Author | ||
Leo Lamprecht ([@notquiteleo](https://twitter.com/notquiteleo)) - [ZEIT](https://zeit.co) |
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
34415
280