Skip to content

Instantly share code, notes, and snippets.

@joshbuchea
Last active August 29, 2015 14:27
Show Gist options
  • Save joshbuchea/0d71e50ca8d6c47dddf0 to your computer and use it in GitHub Desktop.
Save joshbuchea/0d71e50ca8d6c47dddf0 to your computer and use it in GitHub Desktop.
Cordova sensible Content-Security-Policy defaults
<meta http-equiv="Content-Security-Policy" content="
default-src 'self' data: gap: https://ssl.gstatic.com;
script-src 'self' 'unsafe-inline' 'unsafe-eval';
style-src 'self' 'unsafe-inline';
img-src 'self' data:;
media-src *;">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment