Skip to content

Commit

Permalink
get rid of console warnings
Browse files Browse the repository at this point in the history
Get rid of console warnings:

rails/webpacker#1057

/content_security_policy.rb
  • Loading branch information
ashtonthomas committed Jan 28, 2018
1 parent f388aac commit f3d49ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/initializers/content_security_policy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
p.object_src :none
p.script_src :self, :https
p.style_src :self, :https, :unsafe_inline
p.connect_src :self, :https, 'http://localhost:3035', 'ws://localhost:3035' if Rails.env.development?

# Specify URI for violation reports
# p.report_uri "/csp-violation-report-endpoint"
Expand Down

0 comments on commit f3d49ed

Please sign in to comment.