Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 411caa2 commit c801da4Copy full SHA for c801da4
site/site.go
@@ -280,7 +280,7 @@ func cspHeaders(next http.Handler) http.Handler {
280
// https: allows loading images from external sources. This is not ideal
281
// but is required for the templates page that renders readmes.
282
// We should find a better solution in the future.
283
- CSPDirectiveImgSrc: {"'self' data:"},
+ CSPDirectiveImgSrc: {"'self' https: data:"},
284
CSPDirectiveFormAction: {"'self'"},
285
CSPDirectiveMediaSrc: {"'self'"},
286
// Report all violations back to the server to log
0 commit comments