Created
September 29, 2015 17:03
-
-
Save nickrouty/1eb523adabc547a6852e to your computer and use it in GitHub Desktop.
Example config.xml and index.html meta tag definition for Cordova app to handle Content Security Policy. Learn more: https://github.com/apache/cordova-plugin-whitelist#content-security-policy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<allow-navigation href="*" /> | |
<allow-intent href="*" /> | |
<access origin="*" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment