Skip to content
Myr

Removed app.use("/",...) from bin/express

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 b38be2c · Browse files · 1 file+6 added−6 removed
This commit

State

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

Diff stats

1 file+6 added−6 removed

  • other:+6 added−6 removed

1 file+6 added−6 removed

modified:bin/express+6 added-6 removed
76 unmodified lines
77 '// Configuration',78 '',79 'app.configure(function(){',80 ' app.set(\'views\', __dirname + \'/views\');',81 ' app.use(\'/\', connect.bodyDecoder());',82 ' app.use(\'/\', connect.methodOverride());',83 ' app.use(\'/\', connect.compiler({ src: __dirname + \'/public\', enable: [\'sass\'] }));',84 ' app.use(\'/\', connect.staticProvider(__dirname + \'/public\'));',81 ' app.use(connect.bodyDecoder());',82 ' app.use(connect.methodOverride());',83 ' app.use(connect.compiler({ src: __dirname + \'/public\', enable: [\'sass\'] }));',84 ' app.use(connect.staticProvider(__dirname + \'/public\'));',85 '});',86 '',87 'app.configure(\'development\', function(){',88 ' app.set(\'reload views\', 1000);',89 ' app.use(\'/\', connect.errorHandler({ dumpExceptions: true, showStack: true })); ',89 ' app.use(connect.errorHandler({ dumpExceptions: true, showStack: true })); ',90 '});',91 '',92 'app.configure(\'production\', function(){',93 ' app.use(\'/\', connect.errorHandler()); ',93 ' app.use(connect.errorHandler()); ',94 '});',95 '',96 '// Routes',97 '',
86 unmodified lines