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

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

commit 07834ddba6a1c84ebb7b934b2a8adde2a8146786
Author: Evan Rusackas <[email protected]>
AuthorDate: Mon Apr 8 13:10:14 2024 -0600

    fix(docs): CSP mods for Algolia search
---
 docs/static/.htaccess | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/static/.htaccess b/docs/static/.htaccess
index bc88d42ee3..4ef3ebb52d 100644
--- a/docs/static/.htaccess
+++ b/docs/static/.htaccess
@@ -22,4 +22,4 @@ 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 data: blob: 'self' 
*.apache.org *.bugherd.com *.scarf.sh *.googleapis.com *.googletagmanager.com 
*.google-analytics.com 'unsafe-inline' 'unsafe-eval'; frame-src *; 
frame-ancestors 'self' *.preset.io *.google.com https://sidebar.bugherd.com 
https://unpkg.com; form-action 'self'; worker-src blob:; img-src 'self' blob: 
data: https:; font-src 'self' https://fonts.gstatic.com; object-src 'none'"
+Header set Content-Security-Policy "default-src data: blob: 'self' 
*.apache.org *.bugherd.com *.scarf.sh *.googleapis.com *.googletagmanager.com 
*.google-analytics.com *.github.com *.bugsnag.com *.algolia.net 
*.algolianet.com 'unsafe-inline' 'unsafe-eval'; frame-src *; frame-ancestors 
'self' *.preset.io *.google.com https://sidebar.bugherd.com https://unpkg.com; 
form-action 'self'; worker-src blob:; img-src 'self' blob: data: https:; 
font-src 'self' https://fonts.gstatic.com; object-src 'none'"

Reply via email to