Skip to content
Myr

Updated docs to use NODE_ENV

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 03b56d8 · Browse files · 2 files+3 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−4 removed

  • other:+3 added−4 removed

2 files+3 added−4 removed

modified:docs/guide.md+2 added-3 removed
68 unmodified lines
69 app.disable('some feature');70 // same as app.set('some feature', false);71 });7273To alter the environment we can set the _CONNECT_ENV_ environment variable,74or more specifically _EXPRESS_ENV_, for example:73To alter the environment we can set the _NODE_ENV_ environment variable, for example:7476 $ EXPRESS_ENV=production node app.js75 $ NODE_ENV=production node app.js7677### Settings7879Express supports the following settings out of the box:
711 unmodified lines
modified:Readme.md+1 added-1 removed