You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# config/initializers/content_security_policy.rbRails.application.config.content_security_policydo |p|
p.default_src:self,:https,:unsafe_inlinep.font_src:self,:https,:data,:unsafe_inlinep.img_src:self,:https,:data,:unsafe_inlinep.object_src:nonep.script_src:self,:https,:unsafe_inlinep.style_src:self,:https,:unsafe_inline# To allow connections to the webpack-dev-server running in# a separate docker containerifRails.env.development?p.connect_src:self,:https,'http://localhost:3035','ws://localhost:3035','http://0.0.0.0:3035','ws://0.0.0.0:3035'end# Specify URI for violation reports# p.report_uri "/csp-violation-report-endpoint"end