From 9d93e6f79bc240678a6e8e6384ff548107a8aa0a Mon Sep 17 00:00:00 2001 From: Gitea OpenCode Agent Date: Wed, 14 Oct 2026 16:24:43 +0000 Subject: [PATCH] Fix issue #25: Backend error --- backend/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/index.js b/backend/src/index.js index 9e1c103a..d04b1e3e 100644 --- a/backend/src/index.js +++ b/backend/src/index.js @@ -62,7 +62,7 @@ const appCors = cors({ credentials: true, // if using cookies/auth }); app.use((req, res, next) => { - if (foundryCorsPaths.some((path) => req.path === path || req.path.startsWith(`${path}/`))) return next(); + if (openCorsPaths.some((path) => req.path === path || req.path.startsWith(`${path}/`))) return next(); appCors(req, res, next); }); -- 2.39.5