Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Add these access control and X-Frame Allow config settings to inyourcorner_stage > config > application.rb file after line 19
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
You can’t perform that action at this time.