This is an automated email from the ASF dual-hosted git repository.

abeizn pushed a commit to branch fix-dashboard-scp-limit2
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-website.git


The following commit(s) were added to refs/heads/fix-dashboard-scp-limit2 by 
this push:
     new 593ac7446a fix: delete scp limit
593ac7446a is described below

commit 593ac7446abf9ffcb8566b5c4b3f1c012292007c
Author: abeizn <[email protected]>
AuthorDate: Tue Feb 20 14:34:11 2024 +0800

    fix: delete scp limit
---
 docusaurus.config.js              |  1 -
 livedemo/DataSources/GitHub.md    |  2 +-
 livedemo/docusaurus-plugin-csp.js | 18 ------------------
 3 files changed, 1 insertion(+), 20 deletions(-)

diff --git a/docusaurus.config.js b/docusaurus.config.js
index 6bc2d5ca00..d6c215b97b 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -102,7 +102,6 @@ const versions = require('./versions.json');
         sidebarPath: require.resolve('./sidebarsLivedemo.js'),
       },
     ],
-    './livedemo/docusaurus-plugin-csp',
     function tailwindcss() {
       return {
         name: 'docusaurus-tailwindcss',
diff --git a/livedemo/DataSources/GitHub.md b/livedemo/DataSources/GitHub.md
index 6626cbbaae..85ddcc5102 100644
--- a/livedemo/DataSources/GitHub.md
+++ b/livedemo/DataSources/GitHub.md
@@ -16,4 +16,4 @@ description: >
   </h5>
 </div>
 
-<iframe 
src="https://grafana-lake.demo.devlake.io/d/KXWvOFQnz/github?orgId=1&from=now-6M&to=now";
 width="135%" height="3000px"></iframe>
+<iframe 
src="https://grafana-lake.demo.devlake.io/d/KXWvOFQnz/github?orgId=1&from=now-6M&to=now";
 width="135%" height="3000px"></iframe>
\ No newline at end of file
diff --git a/livedemo/docusaurus-plugin-csp.js 
b/livedemo/docusaurus-plugin-csp.js
deleted file mode 100644
index 21ccec2937..0000000000
--- a/livedemo/docusaurus-plugin-csp.js
+++ /dev/null
@@ -1,18 +0,0 @@
-module.exports = function(context, options) {
-  return {
-    name: 'docusaurus-plugin-csp',
-    injectHtmlTags() {
-      return {
-        headTags: [
-          {
-            tagName: 'meta',
-            attributes: {
-              'http-equiv': 'Content-Security-Policy',
-              content: "default-src 'self'; script-src 'self' 'unsafe-inline'; 
style-src 'self' 'unsafe-inline'; frame-src 'self' 
https://grafana-lake.demo.devlake.io/;";,
-            },
-          },
-        ],
-      };
-    },
-  };
-};
\ No newline at end of file

Reply via email to