Update webpack config to match newest webpacker gem
This commit is contained in:
@ -11,6 +11,11 @@
|
||||
# policy.object_src :none
|
||||
# policy.script_src :self, :https
|
||||
# policy.style_src :self, :https
|
||||
#
|
||||
# # You need to allow webpack-dev-server host as allowed origin for connect-src.
|
||||
# # This can be done in Rails 5.2+ for development environment in the CSP initializer
|
||||
# # config/initializers/content_security_policy.rb with a snippet like this:
|
||||
# policy.connect_src :self, :https, "http://localhost:3035", "ws://localhost:3035" if Rails.env.development?
|
||||
|
||||
# # Specify URI for violation reports
|
||||
# # policy.report_uri "/csp-violation-report-endpoint"
|
||||
|
Reference in New Issue
Block a user