You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2024/02/26 22:04:19 UTC

(superset) branch master updated: fix(docs site): CSP changes, take 2 (#27259)

This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 4a1f66a6c7 fix(docs site): CSP changes, take 2 (#27259)
4a1f66a6c7 is described below

commit 4a1f66a6c74501dfc1f23b46a0c3e071251909bf
Author: Evan Rusackas <ev...@preset.io>
AuthorDate: Mon Feb 26 15:04:12 2024 -0700

    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 3eee8d20fb..3f16f4519d 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/';"