X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=index.js;h=7083b13dc1eb790b1c26400ca67de44596a09fd7;hb=205b1db399554a889b4767241231cefe07e1c773;hp=babe27068b4d83094c451b633da72367ce4d296d;hpb=2df1196fca4eeda4f1cd2950a65a6b4d675769f1;p=zombocom-ai diff --git a/index.js b/index.js index babe270..7083b13 100644 --- a/index.js +++ b/index.js @@ -74,7 +74,8 @@ const session_middleware = session( {store: new FileStore, secret: process.env.ZOMBOCOM_SESSION_SECRET, resave: false, - saveUninitialized: true + saveUninitialized: true, + rolling: true }); app.use(session_middleware);