psychobunny 12 years ago
commit 6471109a25

@ -1,4 +1,5 @@
var config = { var config = {
"secret": 'nodebb-secret',
"base_url": "http://localhost", "base_url": "http://localhost",
"port": 4567, "port": 4567,
"mailer": { "mailer": {

@ -29,7 +29,7 @@ var express = require('express'),
client: redisServer, client: redisServer,
ttl: 60*60*24*14 ttl: 60*60*24*14
}), }),
secret: 'nodebb', secret: config.secret,
key: 'express.sid' key: 'express.sid'
})); }));
app.use(function(req, res, next) { app.use(function(req, res, next) {

Loading…
Cancel
Save