summarylogtreecommitdiffstats
path: root/arch.patch
blob: 7473f8374eef30f1d4dde60e6ac2a9f57780e914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
diff --git i/package.json w/package.json
index 67cbb55e..de454bb2 100644
--- i/package.json
+++ w/package.json
@@ -173,13 +173,19 @@
     "typescript": "4.9.5"
   },
   "engines": {
-    "node": "^22.0.0",
-    "pnpm": "^9.0.0"
+    "node": "^23.0.0",
+    "pnpm": "^10.0.0"
   },
   "overrides": {
     "sqlite3/node-gyp": "8.4.1",
     "@types/express-session": "1.17.6"
   },
+  "pnpm": {
+    "onlyBuiltDependencies": [
+      "sqlite3",
+      "bcrypt"
+    ]
+  },
   "config": {
     "commitizen": {
       "path": "./node_modules/cz-conventional-changelog"
diff --git i/server/index.ts w/server/index.ts
index d8aadfa0..eff9037d 100644
--- i/server/index.ts
+++ w/server/index.ts
@@ -162,7 +162,7 @@ app
       }
     });
     if (settings.network.csrfProtection) {
-      server.use(
+      server.use(() =>
         csurf({
           cookie: {
             httpOnly: true,