Skip to content

Commit

Permalink
remove X-frameoptions
Browse files Browse the repository at this point in the history
  • Loading branch information
babz007 committed Sep 17, 2024
1 parent 5fd4d3c commit a789ffd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/environments/staging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,7 @@
]
end
end

# remove X-Frame-Options
config.action_dispatch.default_headers.delete('X-Frame-Options')
end

0 comments on commit a789ffd

Please sign in to comment.