admin dashboard

This commit is contained in:
Zimeng Xiong
2026-02-06 14:27:24 -08:00
parent 1e617025df
commit 0253ebb6b8
3 changed files with 87 additions and 46 deletions
+1 -1
View File
@@ -317,7 +317,7 @@ app.use(
cors({
origin: (origin, cb) => cb(null, isAllowedOrigin(origin ?? undefined)),
credentials: true,
allowedHeaders: ["Content-Type", "Authorization", "x-csrf-token"],
allowedHeaders: ["Content-Type", "Authorization", "x-csrf-token", "x-imported-file"],
exposedHeaders: ["x-csrf-token", "x-request-id"],
})
);