mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Ensure NODE_ENV is production when deploying on Now (#1106)
* Ensure NODE_ENV is production when deploying on Now * Fix custom server example instead of default one * Fix typo
This commit is contained in:
parent
dbc2ceefde
commit
75a993f781
|
@ -445,6 +445,8 @@ Supported options:
|
|||
- `dir` (`string`) where the Next project is located - default `'.'`
|
||||
- `quiet` (`bool`) Hide error messages containing server information - default `false`
|
||||
|
||||
Then, change your `start` script to `NODE_ENV=production node server.js`.
|
||||
|
||||
### Custom `<Document>`
|
||||
|
||||
<p><details>
|
||||
|
|
Loading…
Reference in a new issue