We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48a0beb commit 77d943fCopy full SHA for 77d943f
site/site.go
@@ -319,8 +319,7 @@ func cspHeaders(next http.Handler) http.Handler {
319
cspSrcs := CSPDirectives{
320
// All omitted fetch csp srcs default to this.
321
CSPDirectiveDefaultSrc: {"'self'"},
322
- // TODO: @emyrk fix this to only include the primary and proxy domains.
323
- CSPDirectiveConnectSrc: {"'self' ws: wss:"},
+ CSPDirectiveConnectSrc: {"'self'"},
324
CSPDirectiveChildSrc: {"'self'"},
325
// https://github.com/suren-atoyan/monaco-react/issues/168
326
CSPDirectiveScriptSrc: {"'self'"},
0 commit comments