We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00860cf commit 5cbe360Copy full SHA for 5cbe360
site/site.go
@@ -326,7 +326,8 @@ func cspHeaders(next http.Handler) http.Handler {
326
CSPDirectiveScriptSrc: {"'self' https://cdn.jsdelivr.net"},
327
CSPDirectiveStyleSrc: {"'self' 'unsafe-inline' https://cdn.jsdelivr.net"},
328
// data: is used by monaco editor on FE for Syntax Highlight
329
- CSPDirectiveFontSrc: {"'self' data:"},
+ CSPDirectiveFontSrc: {"'self' https://cdn.jsdelivr.net data:"},
330
+ CSPDirectiveWorkerSrc: {"'self' blob:"},
331
// object-src is needed to support code-server
332
CSPDirectiveObjectSrc: {"'self'"},
333
// blob: for loading the pwa manifest for code-server
0 commit comments