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/27 21:20:37 UTC

(superset) branch master updated: fix(docs): More CSP touchups (#27275)

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 13288bd4bb fix(docs): More CSP touchups (#27275)
13288bd4bb is described below

commit 13288bd4bbeeba9a70cbba51e34637482a2a64f2
Author: Evan Rusackas <ev...@preset.io>
AuthorDate: Tue Feb 27 14:20:30 2024 -0700

    fix(docs): More CSP touchups (#27275)
---
 docs/static/.htaccess | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docs/static/.htaccess b/docs/static/.htaccess
index 0e3d2d8f7e..4204ebd958 100644
--- a/docs/static/.htaccess
+++ b/docs/static/.htaccess
@@ -28,6 +28,7 @@ Header set Content-Security-Policy "default-src 'self'; \
 script-src 'self'; \
 img-src 'self' https://static.scarf.sh *; \
 style-src 'self' https://fonts.googleapis.com; \
+script-src-elem 'self' 'unsafe-inline' https://www.googletagmanager.com https://www.google-analytics.com; \
 script-src-elem 'self' https://www.googletagmanager.com https://www.google-analytics.com; \
 style-src-elem 'self' https://fonts.googleapis.com; \
 font-src 'self' https://fonts.gstatic.com; \