mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-12 14:16:12 +01:00
Fix connect-src policy for Tesseract
This commit is contained in:
parent
f00a0f35ee
commit
9e17f9e95a
@ -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…
Reference in New Issue
Block a user