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:46:59 UTC

(superset) branch master updated: fix(docs site): Opening up CSP for 3rd party frame content. (#27256)

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 ed4b973531 fix(docs site): Opening up CSP for 3rd party frame content. (#27256)
ed4b973531 is described below

commit ed4b973531a1836e7cfb9083d1632c839fdc7987
Author: Evan Rusackas <ev...@preset.io>
AuthorDate: Mon Feb 26 13:46:51 2024 -0700

    fix(docs site): Opening up CSP for 3rd party frame content. (#27256)
---
 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',