This is an automated email from the ASF dual-hosted git repository.
skygo pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 540dee685 hotfix csp tests
540dee685 is described below
commit 540dee685745447442e48c758fab6f2180176da9
Author: Eric Barboni <[email protected]>
AuthorDate: Thu Feb 22 18:16:14 2024 +0100
hotfix csp tests
---
.htaccess | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.htaccess b/.htaccess
index dd917bd46..349aa44bb 100644
--- a/.htaccess
+++ b/.htaccess
@@ -111,6 +111,9 @@ RewriteRule ^favicon-32x32\.png$
https://netbeans.apache.org/_/images/fav/favic
# A simple error page to antora folder
ErrorDocument 404 /front/main/404.html
+#allow youtube video
+Header add Content-Security-Policy frame-src https://www.youtube.com
+
# Enable rewrite engine to redirect 404 pages to old netbeans.org
(137.254.56.26)
# RewriteEngine On
# If the requested stuff is not a file ...
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists