Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Store session files in dreadnot.config.data_root.

  • Loading branch information...
commit 433002684be9edcb7b5a9c066c3184cdb26c71d2 1 parent 4b0de9c
@Kami Kami authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/web/app.js
View
3  lib/web/app.js
@@ -122,10 +122,11 @@ exports.registerSocketIO = function(baton, app) {
exports.run = function(port, dreadnot) {
var app = express.createServer(), io,
FSStore = require('connect-fs')(connect),
+ sessionPath = path.join(dreadnot.config.data_root, 'sessions'),
baton = {
webHandlers: new handlers.WebHandlers(dreadnot),
streamHandlers: new handlers.StreamingHandlers(dreadnot),
- sessionStore: new FSStore({'dir': '/tmp/dn-sessions'})
+ sessionStore: new FSStore({'dir': sessionPath})
};
app.configure(function() {
Please sign in to comment.
Something went wrong with that request. Please try again.