pull in some changes from private branch

This commit is contained in:
Tyler Renelle
2012-09-06 15:33:06 -04:00
parent da6b3d32af
commit 9fd4367a8a
5 changed files with 16 additions and 31 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ expressApp
.use(express.compress())
# Uncomment to add form data parsing support
# .use(express.bodyParser())
.use(express.bodyParser())
# .use(express.methodOverride())
# Uncomment and supply secret to add Derby session handling
@@ -72,7 +72,7 @@ expressApp
.use(store.sessionMiddleware
secret: process.env.SESSION_SECRET || 'YOUR SECRET HERE'
cookie: {maxAge: ONE_YEAR}
store: new MongoStore(db: 'habitrpg')
store: new MongoStore(url: process.env.NODE_DB_URI)
)
# Adds req.getModel method