Skip to content
Myr

New "home" docs

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 ba88e48 · Browse files · 3 files+3 added−3 removed
This commit

State

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

Diff stats

3 files+3 added−3 removed

  • other:+3 added−3 removed

3 files+3 added−3 removed

modified:docs/guide.1+1 added-1 removed
132 unmodified lines
133.IP "\(bu" 4134\fIenv\fR Application environment set internally, use \fIapp\.set(\'env\')\fR on \fIServer#listen()\fR135.136.IP "\(bu" 4137\fIhome\fR Application base path used with \fIres\.redirect()\fR, when mounted defaults to \fIServer#route\fR, otherwise \"/\"\.137\fIhome\fR Application base path used for \fIres\.redirect()\fR and transparently handling mounted apps\.138.139.IP "\(bu" 4140\fIviews\fR Root views directory defaulting to \fBCWD/views\fR141.
989 unmodified lines
modified:docs/guide.html+1 added-1 removed
311 unmodified lines
312<p>Express supports the following settings out of the box:</p>313314<ul>315<li><em>env</em> Application environment set internally, use <em>app.set('env')</em> on <em>Server#listen()</em></li>316<li><em>home</em> Application base path used with <em>res.redirect()</em>, when mounted defaults to <em>Server#route</em>, otherwise "/".</li>316<li><em>home</em> Application base path used for <em>res.redirect()</em> and transparently handling mounted apps.</li>317<li><em>views</em> Root views directory defaulting to <strong>CWD/views</strong></li>318<li><em>view engine</em> Default view engine name for views rendered without extensions</li>319<li><em>reload views</em> Reloads altered views, by default watches for <em>mtime</em> changes with320 with a 5 minute interval. Example: <em>app.set('reload views', 60000);</em></li>
650 unmodified lines
modified:docs/guide.md+1 added-1 removed
75 unmodified lines
7677Express supports the following settings out of the box:7879 * _env_ Application environment set internally, use _app.set('env')_ on _Server#listen()_80 * _home_ Application base path used with _res.redirect()_, when mounted defaults to _Server#route_, otherwise "/".80 * _home_ Application base path used for _res.redirect()_ and transparently handling mounted apps.81 * _views_ Root views directory defaulting to **CWD/views**82 * _view engine_ Default view engine name for views rendered without extensions83 * _reload views_ Reloads altered views, by default watches for _mtime_ changes with84 with a 5 minute interval. Example: _app.set('reload views', 60000);_
571 unmodified lines