Skip to content

Commit

Permalink
hotfix: allow all sites as frame ancestors
Browse files Browse the repository at this point in the history
  • Loading branch information
blms committed Aug 29, 2024
1 parent a94c2de commit b462283
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/initializers/content_security_policy.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# content security policy (CSP) settings for the application
Rails.application.config.content_security_policy do |policy|
# allow all sites as frame_ancestors in order to allow iframe embeds
policy.frame_ancestors :self, "*"
end

0 comments on commit b462283

Please sign in to comment.