mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-13 20:42:29 +08:00
feat: 🎸 remove conflict code
This commit is contained in:
parent
fdc10d0120
commit
0871d16fbc
@ -76,12 +76,6 @@ import etapiBackupRoute from "../etapi/backup.js";
|
|||||||
import apiDocsRoute from "./api_docs.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 MAX_ALLOWED_FILE_SIZE_MB = 250;
|
||||||
const GET = "get",
|
const GET = "get",
|
||||||
PST = "post",
|
PST = "post",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user