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


The following commit(s) were added to refs/heads/new-static-prod by this push:
     new 586b3022 Add .htaccess file for CSP header
586b3022 is described below

commit 586b3022481c5cd43f3f8ea9bda3ebae35b87326
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..a7596b03
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,2 @@
+Header 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