Skip to content

Build your personal knowledge base with Trilium Notes

chore(prettier): fix code style

Panagiotis Papadopoulosea621ef8e16e
diff --git a/src/routes/routes.ts b/src/routes/routes.ts
index f4f9314fed..d04718cd5b 100644
--- a/src/routes/routes.ts
+++ b/src/routes/routes.ts
@@ -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;