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

xiangfu pushed a commit to branch new-static-prod
in repository https://gitbox.apache.org/repos/asf/pinot-site.git

commit 4ed9a79a397442a440acdad0f348585234701b21
Author: Xiang Fu <xiangfu.1...@gmail.com>
AuthorDate: Sun Apr 14 20:12:54 2024 +0800

    Add .htaccess file for CSP header
---
 .htaccess | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.htaccess b/.htaccess
new file mode 100644
index 00000000..c1d4a331
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,2 @@
+Header always set Content-Security-Policy "default-src 'self';script-src 
'self' 'unsafe-eval' 'unsafe-inline' giscus.app analytics.umami.is 
www.youtube.com www.googletagmanager.com www.google-analytics.com;style-src 
'self' 'unsafe-inline';img-src * blob: data:;media-src 
*.s3.amazonaws.com;connect-src *;font-src 'self';frame-src www.youtube.com 
youtube.com giscus.app youtu.be;"
+


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to