This is an automated email from the ASF dual-hosted git repository.
VGalaxies pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/hugegraph-doc.git
The following commit(s) were added to refs/heads/asf-staging by this push:
new 9fae5e8fb Publish Kapa widget CSP preview
9fae5e8fb is described below
commit 9fae5e8fbb3392e13d06c185f5dd807482f183dc
Author: VGalaxies <[email protected]>
AuthorDate: Fri May 8 11:19:27 2026 +0000
Publish Kapa widget CSP preview
---
.htaccess | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 000000000..97a152dbe
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,3 @@
+<IfModule mod_headers.c>
+ Header set Content-Security-Policy "script-src 'self' widget.kapa.ai
www.google.com https://hcaptcha.com https://*.hcaptcha.com
https://www.gstatic.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self'
proxy.kapa.ai kapa-widget-proxy-la7dkmplpq-uc.a.run.app metrics.kapa.ai
https://hcaptcha.com https://*.hcaptcha.com www.google.com; frame-src 'self'
www.google.com https://hcaptcha.com https://*.hcaptcha.com; style-src 'self'
'unsafe-inline' https://hcaptcha.com https://*.hcaptcha.com;"
+</IfModule>