Browse Source

Adjust CSP to fix image resizing

closed-social-glitch-2
Thibaut Girka 6 years ago
committed by ThibG
parent
commit
3fe5029fbe
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      config/initializers/content_security_policy.rb

+ 1
- 1
config/initializers/content_security_policy.rb View File

@ -15,7 +15,7 @@ if Rails.env.production?
p.style_src :self, :unsafe_inline, assets_host
p.media_src :self, :data, assets_host
p.frame_src :self, :https
p.connect_src :self, assets_host, Rails.configuration.x.streaming_api_base_url
p.connect_src :self, :blob, assets_host, Rails.configuration.x.streaming_api_base_url
end
end

Loading…
Cancel
Save