X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ae4487921350e141efed42fdf7cd3fd70d72bc97..067290f19f4aa36b89c110280099b77c115d3187:/app/assets/javascripts/osm.js.erb?ds=sidebyside diff --git a/app/assets/javascripts/osm.js.erb b/app/assets/javascripts/osm.js.erb index 971f80be3..7e7e6a5fa 100644 --- a/app/assets/javascripts/osm.js.erb +++ b/app/assets/javascripts/osm.js.erb @@ -6,6 +6,7 @@ OSM = { <% end %> MAX_REQUEST_AREA: <%= MAX_REQUEST_AREA.to_json %>, + SERVER_PROTOCOL: <%= SERVER_PROTOCOL.to_json %>, SERVER_URL: <%= SERVER_URL.to_json %>, API_VERSION: <%= API_VERSION.to_json %>, STATUS: <%= STATUS.to_json %>, @@ -14,7 +15,7 @@ OSM = { NOMINATIM_URL: <%= NOMINATIM_URL.to_json %>, GRAPHHOPPER_URL: <%= GRAPHHOPPER_URL.to_json %>, MAPQUEST_DIRECTIONS_URL: <%= MAPQUEST_DIRECTIONS_URL.to_json %>, - OSRM_URL: <%= OSRM_URL.to_json %>, + FOSSGIS_OSRM_URL: <%= FOSSGIS_OSRM_URL.to_json %>, DEFAULT_LOCALE: <%= I18n.default_locale.to_json %>, <% if defined?(MAPQUEST_KEY) %>