From 666491548de1fb53d04e9c011941fc38d55d5bc4 Mon Sep 17 00:00:00 2001 From: Zhihe Li Date: Fri, 10 Nov 2023 14:23:32 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Fix=20broken=20hot=20relo?= =?UTF-8?q?ading=20for=20desktop=20client=20(#1992)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/desktop/electron-app/src/config/content-security-policy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/desktop/electron-app/src/config/content-security-policy.js b/ui/desktop/electron-app/src/config/content-security-policy.js index 48be65b5e..fc6fcce7a 100644 --- a/ui/desktop/electron-app/src/config/content-security-policy.js +++ b/ui/desktop/electron-app/src/config/content-security-policy.js @@ -26,8 +26,8 @@ const enableDevCSP = () => { csp['style-src'].push("'unsafe-inline'"); csp['script-src'].push("'unsafe-eval'"); csp['script-src'].push("'unsafe-inline'"); - csp['script-src'].push('http://localhost:7020'); - csp['connect-src'].push('ws://localhost:7020'); + csp['script-src'].push('http://localhost:8000'); + csp['connect-src'].push('ws://localhost:8000'); }; const generateCSPHeader = () => {