This is an automated email from the ASF dual-hosted git repository.
ntimofeev pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/cayenne-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new eba0c20f6 Tweaking CSP header
eba0c20f6 is described below
commit eba0c20f62b00fcfb910d8e511483388b3481bca
Author: Nikita Timofeev <[email protected]>
AuthorDate: Wed Apr 10 14:37:20 2024 +0400
Tweaking CSP header
---
.htaccess | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.htaccess b/.htaccess
index 11191e4e4..bfcab49f1 100644
--- a/.htaccess
+++ b/.htaccess
@@ -86,7 +86,7 @@ RedirectMatch 404 /\.git
Header set Cache-Control "max-age=2628000, public"
</filesMatch>
-Header set Content-Security-Policy "default-src 'self'; img-src https://*;
child-src 'none'; frame-src youtube.com https://www.youtube.com;"
+Header set Content-Security-Policy "default-src 'self'; img-src https://*;
frame-src youtube.com https://www.youtube.com;"
# Enable gzip compression
<IfModule mod_deflate.c>