Skip to content
Permalink
Browse files
CB-8927 Add media to cspMeta and Windows as plat
  • Loading branch information
muratsu authored and dblotsky committed May 21, 2015
1 parent d7d43d6 commit 6e88a8e3affa7cd50ad40ac08e37fb06d9a55fcf
Showing 1 changed file with 7 additions and 1 deletion.
@@ -49,7 +49,13 @@ if (!window._disableCSP) {
switch (PLAT) {
case 'android':
case 'ios':
cspMetaContent = 'default-src \'self\' https://ssl.gstatic.com/accessibility/javascript/android/; connect-src \'self\' http://cordova-filetransfer.jitsu.com;frame-src \'self\' data: gap:; img-src \'self\' data:; style-src \'self\' \'unsafe-inline\'';
case 'windows8':
cspMetaContent = 'default-src \'self\' https://ssl.gstatic.com/accessibility/javascript/android/;' +
' connect-src \'self\' http://cordova-filetransfer.jitsu.com;' +
' media-src \'self\' http://cordova.apache.org/downloads/;' +
' frame-src \'self\' data: gap:;' +
' img-src \'self\' data:;' +
' style-src \'self\' \'unsafe-inline\'';
break;
}

0 comments on commit 6e88a8e

Please sign in to comment.