1
0
Fork 0
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:
Sébastien Dubois 2017-02-13 17:09:11 +02:00 committed by Tim Neutkens
parent dbc2ceefde
commit 75a993f781

View file

@ -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>