Created
June 9, 2015 06:27
-
-
Save saqib-nadeem/ac862e8260203dae4fa7 to your computer and use it in GitHub Desktop.
Add these access control and X-Frame Allow config settings to inyourcorner_stage > config > application.rb file after line 19
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
config.action_dispatch.default_headers.merge!({ | |
'Access-Control-Allow-Origin' => '*', | |
'Access-Control-Request-Method' => '*', | |
'X-Frame-Options'=>'ALLOWALL' | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment