Skip to content

Commit

Permalink
OTWO-7243 CSP policy fixes (#1787)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-sig authored Apr 23, 2024
1 parent ddeda7a commit eaa4b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/content_security_policy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
policy.font_src :self, :https, :data
policy.img_src :self, :https, :data
policy.object_src :none
policy.script_src :self, :https, :unsafe_eval, *allowed_script_sources
policy.script_src :self, :https, :unsafe_inline, :unsafe_eval, *allowed_script_sources
policy.style_src :self, :https, :unsafe_inline
policy.report_uri '/csp-violation-report'
end
Expand Down

0 comments on commit eaa4b6a

Please sign in to comment.