Add HTTPS url for Youtube and Vimeo for CSP
This commit is contained in:
parent
f2adbeb2a4
commit
4f9fcfe573
@ -27,7 +27,7 @@ Router\before(function($action) {
|
|||||||
|
|
||||||
Response\csp(array(
|
Response\csp(array(
|
||||||
'img-src' => '*',
|
'img-src' => '*',
|
||||||
'frame-src' => 'http://www.youtube.com http://player.vimeo.com'
|
'frame-src' => 'http://www.youtube.com https://www.youtube.com http://player.vimeo.com https://player.vimeo.com'
|
||||||
));
|
));
|
||||||
|
|
||||||
Response\xframe();
|
Response\xframe();
|
||||||
|
Loading…
Reference in New Issue
Block a user