Skip to content

Build your personal knowledge base with Trilium Notes

undo accidental MAX_ALLOWED_FILE_SIZE_MB change

perf3ct56fc720ac7cb
diff --git a/src/routes/routes.ts b/src/routes/routes.ts
index b461b7be93..ba1f8b7d18 100644
--- a/src/routes/routes.ts
+++ b/src/routes/routes.ts
@@ -76,7 +76,7 @@ import etapiBackupRoute from "../etapi/backup.js";
import apiDocsRoute from "./api_docs.js";
-const MAX_ALLOWED_FILE_SIZE_MB = 100000;
+const MAX_ALLOWED_FILE_SIZE_MB = 250;
const GET = "get",
PST = "post",
PUT = "put",