Skip to content

Commit

Permalink
bug-fix-1
Browse files Browse the repository at this point in the history
  • Loading branch information
nswbmw committed Jun 7, 2013
1 parent 6d86e23 commit 61107d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/**
* Module dependencies.
*/
Expand Down Expand Up @@ -31,8 +30,9 @@ app.use(express.session({
db: settings.db
})
}));
app.use(app.router);

app.use(express.static(path.join(__dirname, 'public')));
app.use(app.router);

// development only
if ('development' == app.get('env')) {
Expand All @@ -43,4 +43,4 @@ http.createServer(app).listen(app.get('port'), function(){
console.log('Express server listening on port ' + app.get('port'));
});

routes(app);
routes(app);

0 comments on commit 61107d7

Please sign in to comment.