Skip to content

Instantly share code, notes, and snippets.

@mattweldon
Created May 18, 2016 08:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattweldon/33050539fdc5f4d69cab7248da98f5d9 to your computer and use it in GitHub Desktop.
Save mattweldon/33050539fdc5f4d69cab7248da98f5d9 to your computer and use it in GitHub Desktop.
Ember ContentSecurityPolicy
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