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

klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 2321168fbf2 add csp for recaptcha (#765)
2321168fbf2 is described below

commit 2321168fbf2a68607f1e34849649e0e2c2809a15
Author: Chenggang Wu <[email protected]>
AuthorDate: Fri Jun 14 02:27:30 2024 -0700

    add csp for recaptcha (#765)
---
 docusaurus.config.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/docusaurus.config.js b/docusaurus.config.js
index 39522afcfc0..953ada78fa6 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -146,6 +146,10 @@ const versions = require('./versions.json');
           {
             name: 'keywords',
             content: 'Engineering Productivity, Open-Source Engineering, 
Open-Source Integration Tools, Data Integrates Platform, Open-Source Dev 
Platform, Open-Source Data Integrates, DevOps Tools Integrates, Open-Source 
DevOps Tools'
+          },
+          {
+            name: 'Content-Security-Policy',
+            content: "frame-src 'self' https://www.google.com/recaptcha/;";
           }
       ],
       navbar: {
@@ -335,7 +339,7 @@ const versions = require('./versions.json');
         }),
       ],
     ],
-    
+
     scripts: [
       {
         id: "runllm-widget-script",

Reply via email to