Created
May 18, 2016 08:47
-
-
Save mattweldon/33050539fdc5f4d69cab7248da98f5d9 to your computer and use it in GitHub Desktop.
Ember ContentSecurityPolicy
This file contains hidden or 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
contentSecurityPolicy: { | |
'default-src': "'none'", | |
'script-src': "'self'", | |
'connect-src': "'self'", | |
'style-src': "'self' 'unsafe-inline'", | |
'font-src': "'self' 'unsafe-inline'", | |
'img-src': "'self'" | |
}, | |
// Goes between EmberENV and APP in /config/environment.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment