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

(superset-site) branch asf-site updated: deploying docs: fix(docs site): CSP changes, take 2 (#27259) (apache/superset@4a1f66a6c74501dfc1f23b46a0c3e071251909bf)

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

asf-ci-deploy pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/superset-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 4f1fdb92a deploying docs: fix(docs site): CSP changes, take 2 (#27259) (apache/superset@4a1f66a6c74501dfc1f23b46a0c3e071251909bf)
4f1fdb92a is described below

commit 4f1fdb92a4543932b447f806b477ccf929577312
Author: apache <de...@superset.apache.org>
AuthorDate: Mon Feb 26 22:07:22 2024 +0000

    deploying docs: fix(docs site): CSP changes, take 2 (#27259) (apache/superset@4a1f66a6c74501dfc1f23b46a0c3e071251909bf)
---
 .htaccess | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.htaccess b/.htaccess
index 3eee8d20f..3f16f4519 100644
--- a/.htaccess
+++ b/.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/';"