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

(superset) branch csp-changes updated: open CSP

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 977491f79b open CSP
977491f79b is described below

commit 977491f79bd12a9e9999f9195bc9928986e21f28
Author: Evan Rusackas <ev...@rusackas.com>
AuthorDate: Mon Feb 26 13:11:07 2024 -0700

    open CSP
---
 docs/docusaurus.config.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js
index d7dc1c931c..5bd6feadaa 100644
--- a/docs/docusaurus.config.js
+++ b/docs/docusaurus.config.js
@@ -261,6 +261,7 @@ const config = {
         theme: lightCodeTheme,
         darkTheme: darkCodeTheme,
       },
+      metadata: [{name: 'Content-Security-Policy', content: "default-src 'self'; frame-src 'https://calendar.google.com/' 'https://preset.io/' 'https://sidebar.bugherd.com/';"}],
     }),
   scripts: [
     '/script/matomo.js',