Change CSP to accept iframe from Youtube and Vimeo
This commit is contained in:
parent
038e58dfd6
commit
d4c796f79c
@ -26,7 +26,8 @@ Router\before(function($action) {
|
||||
}
|
||||
|
||||
Response\csp(array(
|
||||
'img-src' => '*'
|
||||
'img-src' => '*',
|
||||
'frame-src' => 'http://www.youtube.com http://player.vimeo.com'
|
||||
));
|
||||
|
||||
Response\xframe();
|
||||
|
Loading…
Reference in New Issue
Block a user