CSP: allow unsafe-inline for CSS
This commit is contained in:
parent
2a35ae9dc2
commit
cc97d5b0be
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ Rails.application.config.content_security_policy do |p|
|
|||
p.frame_ancestors :none
|
||||
p.font_src :self, assets_host
|
||||
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.frame_src :self, :https
|
||||
p.manifest_src :self, assets_host
|
||||
|
|
Loading…
Reference in a new issue