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

chufenggao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 9b67ba41a3 chore: try to fix integrate kapa into website (#960)
9b67ba41a3 is described below

commit 9b67ba41a3183dc08f4b503020b0276d3089e394
Author: Gallardot <[email protected]>
AuthorDate: Wed May 15 18:53:36 2024 +0800

    chore: try to fix integrate kapa into website (#960)
    
    Signed-off-by: Gallardot <[email protected]>
---
 public/.htaccess | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/public/.htaccess b/public/.htaccess
index ca79e84215..5bc30c3352 100644
--- a/public/.htaccess
+++ b/public/.htaccess
@@ -1 +1,8 @@
 ErrorDocument 404 /index.html
+RedirectMatch 404 /\.htaccess
+<IfModule mod_headers.c>
+    Header set Access-Control-Allow-Origin: 
https://dolphinscheduler.apache.org/
+    Header set Access-Control-Allow-Methods "*"
+    Header set Access-Control-Allow-Headers "*"
+    Header set Content-Security-Policy "frame-src 'self' 
https://www.google.com https://app.netlify.com";
+</IfModule>

Reply via email to