From ea621ef8e16ec725cac72f55dad2c80573d1e12b Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Sun, 12 Jan 2025 13:30:02 +0100 Subject: [PATCH] chore(prettier): fix code style --- src/routes/routes.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/routes/routes.ts b/src/routes/routes.ts index f4f9314fe..d04718cd5 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;