Skip to content

Commit 08f845f

Browse files
committed
Add relevant urls to script-src, style-src to CSP to fix.
Signed-off-by: michael vincerra <michael.vincerra@intel.com>
1 parent bc5f922 commit 08f845f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/docs/_templates/base.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@
3232
data: https://*.github.io;
3333
img-src 'self'
3434
data: https://*.github.io https://github.com https://*.githubusercontent.com;
35-
script-src 'self' 'unsafe-eval' 'unsafe-inline' https://tagmanager.google.com/ https://www.googletagmanager.com/ https://*.github.io;
36-
style-src 'self' https://*.gstatic.com https://fonts.googleapis.com https://*.github.io https://*.jsdelivr.net https://*.bootstrapcdn.com https://*.cloudflare.com;
35+
script-src 'self' 'unsafe-eval' 'unsafe-inline' https://www.google-analytics.com https://tagmanager.google.com/ https://www.googletagmanager.com/ https://*.github.io;
36+
style-src 'self' data: https://*.gstatic.com https://fonts.googleapis.com https://*.github.io https://*.jsdelivr.net https://*.bootstrapcdn.com https://*.cloudflare.com;
37+
3738
font-src 'self' https://*.googleapis.com https://*.gstatic.com https://*.bootstrapcdn.com https://*.cloudflare.com;
3839
frame-src 'self' https://*.googleapis.com https://*.gstatic.com https://*.bootstrapcdn.com;
3940
object-src 'self';

0 commit comments

Comments
 (0)