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 21:22:11 UTC

(superset) branch csp-changes updated: modifying htaccess for CSP changes

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

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


The following commit(s) were added to refs/heads/csp-changes by this push:
     new ec9514204a modifying htaccess for CSP changes
ec9514204a is described below

commit ec9514204a94056803738e8d8ac26cc2bbc8b2b5
Author: Evan Rusackas <ev...@rusackas.com>
AuthorDate: Mon Feb 26 14:22:01 2024 -0700

    modifying htaccess for CSP changes
---
 docs/static/.htaccess | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/static/.htaccess b/docs/static/.htaccess
index 3eee8d20fb..1f53d4779c 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';"