Skip to content

Commit

Permalink
Merge pull request #25 from MrRyanAlexander/master
Browse files Browse the repository at this point in the history
removed new in app.js mongoStore
  • Loading branch information
Alex Young committed Nov 30, 2013
2 parents 9a7a435 + 02d3a96 commit 88e8aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ app.configure(function() {
app.use(express.bodyParser());
app.use(express.cookieParser());
app.use(connectTimeout({ time: 10000 }));
app.use(express.session({ store: new mongoStore(app.set('db-uri')), secret: 'topsecret' }));
app.use(express.session({ store: mongoStore(app.set('db-uri')), secret: 'topsecret' }));
app.use(express.logger({ format: '\x1b[1m:method\x1b[0m \x1b[33m:url\x1b[0m :response-time ms' }))
app.use(express.methodOverride());
app.use(stylus.middleware({ src: __dirname + '/public' }));
Expand Down

0 comments on commit 88e8aab

Please sign in to comment.