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 Feb 4, 2018
1 parent 2e25ea8 commit 727ffb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Expand Up @@ -410,7 +410,7 @@ def fetch_body
def map_layout
append_content_security_policy_directives(
:child_src => %w[127.0.0.1:8111],
:connect_src => %w[nominatim.openstreetmap.org overpass-api.de router.project-osrm.org],
:connect_src => %w[*.tile.openstreetmap.org *.openstreetmap.fr nominatim.openstreetmap.org overpass-api.de router.project-osrm.org],
:form_action => %w[render.openstreetmap.org],
:script_src => %w[graphhopper.com open.mapquestapi.com],
:img_src => %w[developer.mapquest.com]
Expand Down

0 comments on commit 727ffb3

Please sign in to comment.