Browse Source

Fix connect-src policy for Tesseract

closed-social-glitch-2
Thibaut Girka 5 years ago
parent
commit
9e17f9e95a
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

@ -36,7 +36,7 @@ if Rails.env.production?
p.media_src :self, :data, *data_hosts
p.frame_src :self, :https
p.worker_src :self, :blob, assets_host
p.connect_src :self, :blob, Rails.configuration.x.streaming_api_base_url, *data_hosts
p.connect_src :self, :blob, :data, Rails.configuration.x.streaming_api_base_url, *data_hosts
p.manifest_src :self, assets_host
end
end

Loading…
Cancel
Save