diff options
Diffstat (limited to 'bucky/app')
| -rw-r--r-- | bucky/app/site.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/bucky/app/site.js b/bucky/app/site.js index c447991..9374281 100644 --- a/bucky/app/site.js +++ b/bucky/app/site.js @@ -47,22 +47,22 @@ site.init = function(){ if (!process.env.SESSIONS_IN_MEMORY) { sessionSettings.store = new MongoStore({ url: 'mongodb://localhost/buckySessionDb' -// type: 'mongodb', -// host: 'localhost', -// port: 27017, -// dbName: 'buckySessionDb', -// collectionName: 'sessions', -// timeout: 10000, + // type: 'mongodb', + // host: 'localhost', + // port: 27017, + // dbName: 'buckySessionDb', + // collectionName: 'sessions', + // timeout: 10000, }) } app.use(session(sessionSettings)) upload.init() // federate.route(app) -// app.use(csurf({ -// cookie: true, -// value: (req) => { req.headers['csrf-token'] } -// })) + // app.use(csurf({ + // cookie: true, + // value: (req) => { req.headers['csrf-token'] } + // })) app.disable('x-powered-by') auth.init() |
