Skip to content
Myr

Updated connect submodule

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 0af9126 · Browse files · 2 files+3 added−1 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−1 removed

  • other:+3 added−1 removed

2 files+3 added−1 removed

modified:docs/guide.md+3 added-1 removed
37 unmodified lines
38 app.configure(function(){39 app.use(express.methodOverride());40 app.use(express.bodyDecoder());41 app.use(app.router);42 app.use(express.staticProvider(__dirname + '/public'));42 });43 44 app.configure('development', function(){45 app.use(express.staticProvider(__dirname + '/public'));46 app.use(express.errorHandler({ dumpExceptions: true, showStack: true }));47 });48 49 app.configure('production', function(){50 var oneYear = 31557600000;51 app.use(express.staticProvider({ root: __dirname + '/public', maxAge: oneYear }));52 app.use(express.errorHandler());53 });5455For internal and arbitrary settings Express provides the _set(key[, val])_, _enable(key)_, _disable(key)_ methods:
1056 unmodified lines
modified:support/connectnot shown

Its text is not shown, modified.