You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by sk...@apache.org on 2024/03/19 16:29:13 UTC

(netbeans-website) branch asf-site updated: testing CSP

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 66f6bd26d testing CSP
66f6bd26d is described below

commit 66f6bd26dac0bce12c1c55590db786395b513a80
Author: Eric Barboni <sk...@apache.org>
AuthorDate: Tue Mar 19 17:29:08 2024 +0100

    testing CSP
---
 .htaccess | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.htaccess b/.htaccess
index b7952dca0..5086d4056 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,3 +1,6 @@
+# allow youtube video to be displayed (temporary test)
+Header set Content-Security-Policy "frame-src 'self' https://www.youtube.com "
+
 DirectoryIndex index.html index.asciidoc
 
 # download from incubation


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists