From 0871d16fbca93acc079c78e91c5522f448e2fdff Mon Sep 17 00:00:00 2001 From: Jin <22962980+JYC333@users.noreply.github.com> Date: Sat, 22 Mar 2025 12:41:22 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20remove=20conflict=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/routes.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/routes/routes.ts b/src/routes/routes.ts index 49da3a3b1..abae1acaa 100644 --- a/src/routes/routes.ts +++ b/src/routes/routes.ts @@ -76,12 +76,6 @@ import etapiBackupRoute from "../etapi/backup.js"; import apiDocsRoute from "./api_docs.js"; -const csrfMiddleware = csurf({ - cookie: { - path: "" // empty, so cookie is valid only for the current path - } -}); - const MAX_ALLOWED_FILE_SIZE_MB = 250; const GET = "get", PST = "post",