mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-22 23:03:23 +00:00
Add manifest_src to CSP
Fixes manifest.json not being loaded because of CSP violation h/t https://vulpine.club/@binary/100662852252438648
This commit is contained in:
parent
bd437f8077
commit
40d04a3209
|
@ -27,6 +27,7 @@ if Rails.env.production?
|
||||||
p.frame_src :self, :https
|
p.frame_src :self, :https
|
||||||
p.worker_src :self, assets_host
|
p.worker_src :self, assets_host
|
||||||
p.connect_src :self, :blob, Rails.configuration.x.streaming_api_base_url, *data_hosts
|
p.connect_src :self, :blob, Rails.configuration.x.streaming_api_base_url, *data_hosts
|
||||||
|
p.manifest_src :self, :https
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue