File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -640,6 +640,7 @@ export class DocsEndpointHandler {
640640 headers : {
641641 'Content-Type' : 'text/html; charset=utf-8' ,
642642 'Cache-Control' : 'public, max-age=3600' ,
643+ 'Content-Security-Policy' : "default-src 'self'; style-src 'self' https://cdn.jsdelivr.net 'unsafe-inline'; script-src 'self'; img-src 'self' data:; font-src 'self' data:;" ,
643644 } ,
644645 } ) ;
645646 }
@@ -671,6 +672,7 @@ export class DocsEndpointHandler {
671672 status,
672673 headers : {
673674 'Content-Type' : 'text/html; charset=utf-8' ,
675+ 'Content-Security-Policy' : "default-src 'self'; style-src 'self' https://cdn.jsdelivr.net 'unsafe-inline'; script-src 'self'; img-src 'self' data:; font-src 'self' data:;" ,
674676 } ,
675677 } ) ;
676678 }
You can’t perform that action at this time.
0 commit comments