You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/12/16 21:31:29 UTC
[camel-website] branch master updated: Allow to embed youtube videos
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/master by this push:
new c2e3940 Allow to embed youtube videos
new 15774d3 Merge pull request #129 from apupier/allowYoutubeVideosToBeEmbedded
c2e3940 is described below
commit c2e39401951a9615137b24d5a36e3564289bff61
Author: Aurélien Pupier <ap...@redhat.com>
AuthorDate: Mon Dec 16 19:40:43 2019 +0100
Allow to embed youtube videos
Signed-off-by: Aurélien Pupier <ap...@redhat.com>
---
static/.htaccess | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/static/.htaccess b/static/.htaccess
index 1098df2..b627675 100644
--- a/static/.htaccess
+++ b/static/.htaccess
@@ -1323,7 +1323,7 @@ AddDefaultCharset utf-8
<IfModule mod_headers.c>
# (1) (2) (3) (4) (5)
- Header set Content-Security-Policy "default-src 'self'; base-uri 'none'; form-action 'self'; frame-ancestors 'none'; upgrade-insecure-requests" "expr=%{CONTENT_TYPE} =~ m#text/html#i"
+ Header set Content-Security-Policy "default-src 'self'; base-uri 'none'; form-action 'self'; frame-ancestors 'none' https://www.youtube.com/; upgrade-insecure-requests" "expr=%{CONTENT_TYPE} =~ m#text/html#i"
</IfModule>
# ----------------------------------------------------------------------