File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -269,9 +269,9 @@ func cspHeaders(next http.Handler) http.Handler {
269
269
// https://cdn.jsdelivr.net is used by monaco editor on FE for Syntax Highlight
270
270
// https://github.com/suren-atoyan/monaco-react/issues/168
271
271
CSPDirectiveScriptSrc : {"'self' https://cdn.jsdelivr.net" },
272
+ CSPDirectiveStyleSrc : {"'self' 'unsafe-inline' https://cdn.jsdelivr.net" },
272
273
// data: is used by monaco editor on FE for Syntax Highlight
273
- CSPDirectiveFontSrc : {"'self' data:" },
274
- CSPDirectiveStyleSrc : {"'self' 'unsafe-inline'" },
274
+ CSPDirectiveFontSrc : {"'self' data:" },
275
275
// object-src is needed to support code-server
276
276
CSPDirectiveObjectSrc : {"'self'" },
277
277
// blob: for loading the pwa manifest for code-server
You can’t perform that action at this time.
0 commit comments