Skip to content

Commit dccf800

Browse files
committed
typo fixed (line 90)
('env' -> ('env')
1 parent 2662184 commit dccf800

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ch15/meadowlark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ switch(app.get('env')){
8787
}
8888

8989
var MongoSessionStore = require('session-mongoose')(require('connect'));
90-
var sessionStore = new MongoSessionStore({ url: credentials.mongo[app.get('env'].connectionString });
90+
var sessionStore = new MongoSessionStore({ url: credentials.mongo[app.get('env')].connectionString });
9191

9292
app.use(require('cookie-parser')(credentials.cookieSecret));
9393
app.use(require('express-session')({

0 commit comments

Comments
 (0)