Change CSP to accept iframe from Youtube and Vimeo

This commit is contained in:
Frederic Guillot 2013-04-04 23:33:29 -04:00
parent 038e58dfd6
commit d4c796f79c
1 changed files with 2 additions and 1 deletions

View File

@ -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();