diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-09-14 22:26:49 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-09-14 22:26:49 -0500 |
commit | cb866b4201149e1f68406194e6d0869b1d1640a0 (patch) | |
tree | 6587898e0e6b820b32fe6323593bd47a8bc4037b /config/initializers | |
parent | 3ec2d799aa407eea8276867dd8ec38454f3ee0cb (diff) |
add jortage proxy to csp
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/content_security_policy.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/initializers/content_security_policy.rb b/config/initializers/content_security_policy.rb index d591818e8..9bbbbbb78 100644 --- a/config/initializers/content_security_policy.rb +++ b/config/initializers/content_security_policy.rb @@ -32,9 +32,9 @@ if Rails.env.production? p.frame_ancestors :none p.script_src :self, assets_host p.font_src :self, assets_host - p.img_src :self, :data, :blob, img_proxy_host, *data_hosts + p.img_src :self, :data, :blob, img_proxy_host, *data_hosts, "pool.jortage.com", "blob.jortage.com" p.style_src :self, :unsafe_inline, assets_host - p.media_src :self, :data, *data_hosts + p.media_src :self, :data, *data_hosts, "pool.jortage.com", "blob.jortage.com" p.frame_src :self, :https p.worker_src :self, assets_host p.connect_src :self, :blob, Rails.configuration.x.streaming_api_base_url, *data_hosts |