Skip to content

Commit

Permalink
Update CSP to allow loads of tile status
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Oct 31, 2017
1 parent 69e3413 commit ab6e03b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def fetch_body

def map_layout
append_content_security_policy_directives(
:connect_src => %w[nominatim.openstreetmap.org overpass-api.de router.project-osrm.org valhalla.mapzen.com],
:connect_src => %w[*.tile.openstreetmap.org *.openstreetmap.fr nominatim.openstreetmap.org overpass-api.de router.project-osrm.org valhalla.mapzen.com],
:script_src => %w[graphhopper.com open.mapquestapi.com],
:img_src => %w[developer.mapquest.com]
)
Expand Down

0 comments on commit ab6e03b

Please sign in to comment.