diff --git a/app/Http/Controllers/RoutingController.php b/app/Http/Controllers/RoutingController.php index c5cecfce81c7d88f78cb1ffb8be2a97485b06c8b..f4dd340b0bb096befdf571031137ac8f2b09789f 100644 --- a/app/Http/Controllers/RoutingController.php +++ b/app/Http/Controllers/RoutingController.php @@ -38,7 +38,7 @@ public function routingOverviewGeoJson($vehicle, $points) default: $port = 5000; } - $url = "http://144.76.61.182:$port/route/v1/$vehicle/$points?steps=true&geometries=geojson"; + $url = "http://94.130.13.157:$port/route/v1/$vehicle/$points?steps=true&geometries=geojson"; $cacheHash = md5($url); if (Cache::has($cacheHash)) { @@ -90,7 +90,7 @@ public function routingGeoJson($vehicle, $points, $bearingStartPoint = "") default: $port = 5000; } - $url = "http://144.76.61.182:$port/route/v1/$vehicle/$points?steps=true&alternatives=true&geometries=geojson&overview=full&annotations=true"; + $url = "http://94.130.13.157:$port/route/v1/$vehicle/$points?steps=true&alternatives=true&geometries=geojson&overview=full&annotations=true"; # Maybe we need to add Bearings: if ($bearingStartPoint !== "") { @@ -150,7 +150,7 @@ public function match($vehicle, $points, $timestamp, $radiuses) default: $port = 5000; } - $url = 'http://144.76.61.182:' . $port . '/match/v1/' . $vehicle . '/' . $points . '?steps=true&geometries=geojson×tamps=' . $timestamp . '&radiuses=' . $radiuses; + $url = 'http://94.130.13.157:' . $port . '/match/v1/' . $vehicle . '/' . $points . '?steps=true&geometries=geojson×tamps=' . $timestamp . '&radiuses=' . $radiuses; // make request $ch = curl_init();