diff --git a/src/app.js b/src/app.js index 3f2fdca71..6be36630a 100644 --- a/src/app.js +++ b/src/app.js @@ -38,6 +38,7 @@ const sessionParser = session({ httpOnly: true, maxAge: 24 * 60 * 60 * 1000 // in milliseconds }, + name: 'trilium', store: new FileStore({ ttl: 30 * 24 * 3600, path: dataDir.TRILIUM_DATA_DIR + '/sessions'