Last active
August 29, 2015 14:18
-
-
Save walter/4090eb2a7592c7f8c868 to your computer and use it in GitHub Desktop.
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
if (environment !== 'production') { | |
ENV['contentSecurityPolicy'] = { | |
'default-src': "'none'", | |
'frame-src': "'self'", | |
'script-src': "'self' *.dev:35730 'unsafe-inline'", | |
'font-src': "'self' http://*.dev/", | |
'connect-src': "'self' ws://*.dev:35730/", | |
'img-src': "'self'", | |
'style-src': "'self'", | |
'media-src': "'self'" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment