We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
connect-src
1 parent 3c9f774 commit 8dd1e02Copy full SHA for 8dd1e02
1 file changed
clients/web/csp.js
@@ -10,7 +10,7 @@ export function generateCSP(isDev = false) {
10
"frame-src": [SELF],
11
"script-src": isDev ? [SELF, UNSAFE_EVAL] : [SELF],
12
"style-src": isDev ? [SELF, UNSAFE_INLINE] : [SELF],
13
- "connect-src": [SELF, "127.0.0.1", "ws://localhost:5173/"],
+ "connect-src": [SELF, "127.0.0.1", "127.0.0.1:*", "ws://localhost:5173/"],
14
"img-src": [SELF],
15
"object-src": [NONE],
16
},
0 commit comments