mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
chore(prettier): fix prettier issues
This commit is contained in:
parent
38215c46ae
commit
201663d9ec
@ -80,7 +80,6 @@ function login(req: Request, res: Response) {
|
|||||||
|
|
||||||
res.redirect(".");
|
res.redirect(".");
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function verifyPassword(guessedPassword: string) {
|
function verifyPassword(guessedPassword: string) {
|
||||||
|
@ -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({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user