This is an automated email from the ASF dual-hosted git repository. yihaochen pushed a commit to branch fix-kapa in repository https://gitbox.apache.org/repos/asf/skywalking-website.git
The following commit(s) were added to refs/heads/fix-kapa by this push: new d6ef8beb66d Try fix kapa with CSP for google.com d6ef8beb66d is described below commit d6ef8beb66da886825c5e2530903236cad9392c8 Author: Superskyyy <supersk...@outlook.com> AuthorDate: Mon Feb 19 12:05:33 2024 -0500 Try fix kapa with CSP for google.com --- themes/docsy/layouts/partials/scripts.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/themes/docsy/layouts/partials/scripts.html b/themes/docsy/layouts/partials/scripts.html index 792c65d5c6e..4855fed7bf1 100644 --- a/themes/docsy/layouts/partials/scripts.html +++ b/themes/docsy/layouts/partials/scripts.html @@ -20,7 +20,10 @@ window.onload = () => mermaid.init(undefined, ".language-mermaid"); </script> -<!--Note the 200px position-botton is to leave room for website event popups --> +<!--Note the 200px position-botton is to leave room for website event popups--> +<!--Google needs to be allowed for kapa.ai widget to work--> +<meta http-equiv="Content-Security-Policy" content="frame-src 'self' google.com;"> + <script defer src="https://widget.kapa.ai/kapa-widget.bundle.js" data-website-id="8a08392b-9c4d-4816-8bc4-f93e0ecdd2a7"