From 1de2404b8d3f109c00c55e6f28b83282db8abc1f Mon Sep 17 00:00:00 2001 From: "benjamin.747" Date: Tue, 29 Jul 2025 16:27:10 +0800 Subject: [PATCH] fix(UI): update csp for debug --- moon/apps/web/next.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/moon/apps/web/next.config.js b/moon/apps/web/next.config.js index 9e9fc65a9..750e5ae3c 100644 --- a/moon/apps/web/next.config.js +++ b/moon/apps/web/next.config.js @@ -37,6 +37,8 @@ const cspResourcesByDirective = { 'wss://*.gitmono.com', 'wss://*.gitmega.com', 'https://*.gitmega.com', + 'ws://*.gitmega.com', + 'http://*.gitmega.com', 'http://*.gitmono.test:3001', 'http://*.gitmono.test:8000', process.env.NODE_ENV !== 'production' && 'https://api.gitmega.com',