Move routing API endpoint addresses to config file

This commit is contained in:
Tom Hughes 2016-01-11 19:03:47 +00:00
parent 409e99c6fc
commit e128e78408
5 changed files with 26 additions and 22 deletions

View file

@ -51,7 +51,7 @@ function OSRMEngine() {
}
return $.ajax({
url: document.location.protocol + "//router.project-osrm.org/viaroute",
url: document.location.protocol + OSM.OSRM_URL,
data: params,
dataType: "json",
success: function (data) {