We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f96c54 commit a9a92c5Copy full SHA for a9a92c5
1 file changed
config/initializers/content_security_policy.rb
@@ -7,8 +7,9 @@
7
# https://guides.rubyonrails.org/security.html#content-security-policy-header
8
9
Rails.application.configure do
10
- connect_src = [:self, "*.openhistoricalmap.org", "openhistoricalmap.github.io", "*.amazonaws.com"]
11
- img_src = [:self, :data, "www.gravatar.com", "*.wp.com", "tile.openstreetmap.org", "gps.tile.openstreetmap.org", "api.thunderforest.com", "tile.tracestrack.com", "*.openstreetmap.fr"]
+ tile_src = ["tile.openstreetmap.org", "gps.tile.openstreetmap.org", "api.thunderforest.com", "tile.tracestrack.com", "*.openstreetmap.fr"]
+ connect_src = [:self, "*.openhistoricalmap.org", "openhistoricalmap.github.io", "*.amazonaws.com", *tile_src]
12
+ img_src = [:self, :data, "www.gravatar.com", "*.wp.com", *tile_src]
13
script_src = [:self, "openhistoricalmap.github.io"]
14
style_src = [:self, "openhistoricalmap.github.io"]
15
worker_src = [:self, :blob, "0.0.0.0:3000"]
0 commit comments