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 7c8e1bb46e fix(docs): CSP mods to re-enable Algolia search (#27942)
7c8e1bb46e is described below
commit 7c8e1bb46e9206b407621053fe74e22fee2e59b1
Author: Evan Rusackas <[email protected]>
AuthorDate: Mon Apr 8 14:37:50 2024 -0600
fix(docs): CSP mods to re-enable Algolia search (#27942)
---
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'"