Skip to content

Commit

Permalink
Fixes for Content Security Policy in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
erictheise committed Dec 5, 2024
1 parent 632b2dd commit 08db98c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/content_security_policy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# https://guides.rubyonrails.org/security.html#content-security-policy-header

Rails.application.configure do
connect_src = [:self, "openhistoricalmap.github.io"]
connect_src = [:self, "*.openhistoricalmap.org", "openhistoricalmap.github.io"]
img_src = [:self, :data, "www.gravatar.com", "*.wp.com", "tile.openstreetmap.org", "gps.tile.openstreetmap.org", "*.tile.thunderforest.com", "tile.tracestrack.com", "*.openstreetmap.fr"]
script_src = [:self, "openhistoricalmap.github.io"]
style_src = [:self, "openhistoricalmap.github.io"]
Expand Down

0 comments on commit 08db98c

Please sign in to comment.