nodejitsu: changes necessary to run on jitsu
nodejitsu: database credentials (reset this commit!) & remove derby-ui-boot, just use bootstrap
This commit is contained in:
@@ -29,6 +29,7 @@ publicPath = path.join root, 'public'
|
||||
# Derby session middleware creates req.model and subscribes to _session
|
||||
.use(express.cookieParser 'secret_sauce')
|
||||
.use(express.session
|
||||
secret: 'secret_sauce'
|
||||
cookie: {maxAge: ONE_YEAR}
|
||||
store: new MongoStore(db: 'habitrpg', collection: 'express-sessions')
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user