From 4a1f66a6c74501dfc1f23b46a0c3e071251909bf Mon Sep 17 00:00:00 2001 From: Evan Rusackas Date: Mon, 26 Feb 2024 15:04:12 -0700 Subject: [PATCH] fix(docs site): CSP changes, take 2 (#27259) --- docs/static/.htaccess | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/static/.htaccess b/docs/static/.htaccess index 3eee8d20fb627..3f16f4519d5ea 100644 --- a/docs/static/.htaccess +++ b/docs/static/.htaccess @@ -21,3 +21,5 @@ RewriteRule ^(.*)$ https://superset.apache.org/$1 [R,L] RewriteCond %{HTTP_HOST} ^superset.incubator.apache.org$ [NC] RewriteRule ^(.*)$ https://superset.apache.org/$1 [R=301,L] + +Header set Content-Security-Policy "default-src 'self'; frame-src 'https://calendar.google.com/' 'https://preset.io/' 'https://sidebar.bugherd.com/' 'https://unpkg.com/';"