mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-28 10:32:27 +08:00
chore(prettier): fix code style
This commit is contained in:
parent
4cd18441e4
commit
ea621ef8e1
@ -73,14 +73,14 @@ import etapiSpecRoute from "../etapi/spec.js";
|
||||
import etapiBackupRoute from "../etapi/backup.js";
|
||||
|
||||
const { doubleCsrfProtection: csrfMiddleware } = doubleCsrf({
|
||||
getSecret: () => sessionSecret,
|
||||
cookieOptions: {
|
||||
path: "", // empty, so cookie is valid only for the current path
|
||||
secure: false,
|
||||
sameSite: false,
|
||||
httpOnly: false,
|
||||
},
|
||||
cookieName: "_csrf",
|
||||
getSecret: () => sessionSecret,
|
||||
cookieOptions: {
|
||||
path: "", // empty, so cookie is valid only for the current path
|
||||
secure: false,
|
||||
sameSite: false,
|
||||
httpOnly: false
|
||||
},
|
||||
cookieName: "_csrf"
|
||||
});
|
||||
|
||||
const MAX_ALLOWED_FILE_SIZE_MB = 250;
|
||||
|
Loading…
x
Reference in New Issue
Block a user