This is an automated email from the ASF dual-hosted git repository.
ntimofeev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cayenne-website.git
The following commit(s) were added to refs/heads/master by this push:
new 15d73c51b Tweaking CSP header to allow required content
15d73c51b is described below
commit 15d73c51ba664eafebec10d7a4e61ce776abbd33
Author: Nikita Timofeev <[email protected]>
AuthorDate: Wed Apr 10 16:21:50 2024 +0400
Tweaking CSP header to allow required content
---
src/main/site/static/.htaccess | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/site/static/.htaccess b/src/main/site/static/.htaccess
index 11191e4e4..915f2da8d 100644
--- a/src/main/site/static/.htaccess
+++ b/src/main/site/static/.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 "img-src https://*; frame-src youtube.com
https://www.youtube.com;"
# Enable gzip compression
<IfModule mod_deflate.c>