fix: 🐛 Fix broken hot reloading for desktop client (#1992)

This commit is contained in:
Zhihe Li authored and GitHub committed 2023-11-10 14:23:32 -05:00
1 parent 2558ee1353
commit 666491548d
1 file changed
+2 -2
@@ -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 = () => {