Fix connect-src policy for Tesseract

lolsob-rspec
Thibaut Girka 2019-08-19 22:02:35 +02:00
parent 031fe56133
commit f82b1bb158
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ if Rails.env.production?
p.media_src :self, :data, *data_hosts p.media_src :self, :data, *data_hosts
p.frame_src :self, :https p.frame_src :self, :https
p.worker_src :self, :blob, assets_host 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 p.manifest_src :self, assets_host
end end
end end