Skip to content

Commit

Permalink
Remove X-Frame-Options as default header.
Browse files Browse the repository at this point in the history
  • Loading branch information
wickr committed Feb 23, 2018
1 parent 8da22a6 commit 10b7c66
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,9 @@ class Application < Rails::Application
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'
config.middleware.use ::ConnegMiddleware


# Remove default for X-Frame-Options to allow pages to display in iframes
config.action_dispatch.default_headers.delete "X-Frame-Options"
end
end

0 comments on commit 10b7c66

Please sign in to comment.