Skip to content

Commit

Permalink
Changed: moved static() in generated apps below router
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed May 3, 2012
1 parent 1a3e40d commit f3a32f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/express
Expand Up @@ -185,10 +185,10 @@ var app = [
, ' app.set(\'view engine\', \':TEMPLATE\');'
, ' app.use(express.favicon());'
, ' app.use(express.logger(\'dev\'));{css}'
, ' app.use(express.static(__dirname + \'/public\'));'
, ' app.use(express.bodyParser());'
, ' app.use(express.methodOverride());{sess}'
, ' app.use(app.router);'
, ' app.use(express.static(__dirname + \'/public\'));'
, '});'
, ''
, 'app.configure(\'development\', function(){'
Expand Down

0 comments on commit f3a32f2

Please sign in to comment.