mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
added webpack
This commit is contained in:
@@ -45,6 +45,7 @@ app.use(cookieParser());
|
||||
app.use(express.static(path.join(__dirname, 'public')));
|
||||
app.use('/libraries', express.static(path.join(__dirname, '..', 'libraries')));
|
||||
app.use('/images', express.static(path.join(__dirname, '..', 'images')));
|
||||
app.use('/dist', express.static(path.join(__dirname, '..', 'dist')));
|
||||
const sessionParser = session({
|
||||
secret: sessionSecret,
|
||||
resave: false, // true forces the session to be saved back to the session store, even if the session was never modified during the request.
|
||||
|
||||
Reference in New Issue
Block a user