chore(prettier): fix prettier issues

This commit is contained in:
Panagiotis Papadopoulos 2025-02-13 09:07:25 +01:00
parent 38215c46ae
commit 201663d9ec
2 changed files with 1 additions and 2 deletions

View File

@ -80,7 +80,6 @@ function login(req: Request, res: Response) {
res.redirect("."); res.redirect(".");
}); });
} }
function verifyPassword(guessedPassword: string) { function verifyPassword(guessedPassword: string) {

View File

@ -12,7 +12,7 @@ const sessionParser = session({
cookie: { cookie: {
path: config.Session.cookiePath, path: config.Session.cookiePath,
httpOnly: true, httpOnly: true,
maxAge: config.Session.cookieMaxAge * 1000 // needs value in milliseconds maxAge: config.Session.cookieMaxAge * 1000 // needs value in milliseconds
}, },
name: "trilium.sid", name: "trilium.sid",
store: new FileStore({ store: new FileStore({