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

yihaochen pushed a commit to branch fix-kapa-again-htaccess
in repository https://gitbox.apache.org/repos/asf/skywalking-website.git


The following commit(s) were added to refs/heads/fix-kapa-again-htaccess by 
this push:
     new fdb55c54a1a Try if config.toml works
fdb55c54a1a is described below

commit fdb55c54a1a2724787403213774e23c801ca782a
Author: Superskyyy <supersk...@outlook.com>
AuthorDate: Wed Feb 21 01:47:49 2024 -0500

    Try if config.toml works
---
 config.toml                             | 5 +++++
 themes/docsy/layouts/partials/head.html | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/config.toml b/config.toml
index 9b16d01343b..dd1508b1fe8 100644
--- a/config.toml
+++ b/config.toml
@@ -267,3 +267,8 @@ weight = 1
   changefreq = "daily"
   filename = "sitemap.xml"
   priority = 0.5
+
+[[headers]]
+  for = "/*"
+  [headers.values]
+    Content-Security-Policy = "default-src 'self' google.com netlify.com;"
\ No newline at end of file
diff --git a/themes/docsy/layouts/partials/head.html 
b/themes/docsy/layouts/partials/head.html
index c4e5613cd01..33ee9ca565a 100644
--- a/themes/docsy/layouts/partials/head.html
+++ b/themes/docsy/layouts/partials/head.html
@@ -4,7 +4,7 @@
 <meta name="twitter:image:src" 
content="https://skywalking.apache.org/images/skywalking_400x400.png";>
 <meta property="og:image" 
content="https://skywalking.apache.org/images/skywalking_400x400.png";>
 <!--Google needs to be allowed for kapa.ai widget to work-->
-<meta http-equiv="Content-Security-Policy" content="frame-src 'self' 
https://www.google.com https://app.netlify.com;";>
+<!-- <meta http-equiv="Content-Security-Policy" content="frame-src 'self' 
https://www.google.com https://app.netlify.com;";> -->
 
 {{ hugo.Generator }}
 

Reply via email to