Created
October 8, 2014 21:02
-
-
Save lessless/99e04632d767d56f463a to your computer and use it in GitHub Desktop.
Ember csp
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
| // $npm install --save-dev ember-cli-content-security-policy | |
| //config/environment.js | |
| module.exports = function(environment) { | |
| var ENV = { | |
| contentSecurityPolicy: { | |
| 'script-src': "'self' 'unsafe-eval'", | |
| 'style-src': "'self' 'unsafe-inline'" | |
| } | |
| }; | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment