This is an automated email from the ASF dual-hosted git repository. lynwee pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/incubator-devlake-website.git
commit 9bcbee619dc14723cb8680e00f64e8cc8995d161 Author: abeizn <[email protected]> AuthorDate: Mon Feb 19 17:57:20 2024 +0800 fix: violates the following Content Security Policy directive --- docusaurus.config.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docusaurus.config.js b/docusaurus.config.js index d6c215b97b..e8cccbeaa4 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -21,6 +21,13 @@ const versions = require('./versions.json'); organizationName: 'Apache', projectName: 'Apache DevLake', + // Other top-level config fields + customFields: { + head: [ + ['meta', { httpEquiv: 'Content-Security-Policy', content: "frame-src 'self' https://grafana-lake.demo.devlake.io/;" }], + ], + }, + presets: [ [ '@docusaurus/preset-classic',
