Skip to content

Build your personal knowledge base with Trilium Notes

feat: 🎸 remove conflict code

Jin0871d16fbca9
diff --git a/src/routes/routes.ts b/src/routes/routes.ts
index 49da3a3b14..abae1acaa6 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",