This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch fix-dashboard-scp-limit
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-website.git
The following commit(s) were added to refs/heads/fix-dashboard-scp-limit by
this push:
new cc80ba0718 fix: violates the following Content Security Policy
directive
cc80ba0718 is described below
commit cc80ba071878d66055b58d4cb5eec5d616c292a4
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',