Skip to content

Instantly share code, notes, and snippets.

@lessless
Created October 8, 2014 21:02
Show Gist options
  • Select an option

  • Save lessless/99e04632d767d56f463a to your computer and use it in GitHub Desktop.

Select an option

Save lessless/99e04632d767d56f463a to your computer and use it in GitHub Desktop.
Ember csp
// $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