CSP: allow unsafe-inline for CSS

This commit is contained in:
Ariadne Conill 2024-02-02 21:07:12 -08:00
parent 2a35ae9dc2
commit cc97d5b0be

View file

@ -36,7 +36,7 @@ Rails.application.config.content_security_policy do |p|
p.frame_ancestors :none p.frame_ancestors :none
p.font_src :self, assets_host p.font_src :self, assets_host
p.img_src :self, :data, :blob, *media_hosts p.img_src :self, :data, :blob, *media_hosts
p.style_src :self, assets_host p.style_src :self, :unsafe_inline, assets_host
p.media_src :self, :data, *media_hosts p.media_src :self, :data, *media_hosts
p.frame_src :self, :https p.frame_src :self, :https
p.manifest_src :self, assets_host p.manifest_src :self, assets_host