diff options
| author | Jules <jules@asdf.us> | 2018-06-06 15:59:50 -0400 |
|---|---|---|
| committer | Jules <jules@asdf.us> | 2018-06-06 15:59:50 -0400 |
| commit | 3d076452c92480888562915add1e87a87d8a0006 (patch) | |
| tree | c9f4e5fe6adf2f219c4a48a9406205fe0da67184 /bucky/app/site.js | |
| parent | 35c1ac30ef5e89f60bbce45b4405fa8e9a6098df (diff) | |
| parent | 9f73794615e3707e9374df1ba130b902d804a1cc (diff) | |
merge and update packages
Diffstat (limited to 'bucky/app/site.js')
| -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() |
