Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #25 from MrRyanAlexander/master

removed new in app.js mongoStore
  • Loading branch information...
commit 88e8aabaad093bbb1a99e63a4a29b912fd12e6ed 2 parents 9a7a435 + 02d3a96
Alex Young authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app.js
View
2  app.js
@@ -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' }));

0 comments on commit 88e8aab

Please sign in to comment.
Something went wrong with that request. Please try again.