From 9478848c92fe397a7b9f8756ffad99d9ef4034d3 Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@suma-ev.de>
Date: Wed, 21 Jul 2021 10:55:58 +0000
Subject: [PATCH] switched routing server

---
 app/Http/Controllers/RoutingController.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/Http/Controllers/RoutingController.php b/app/Http/Controllers/RoutingController.php
index c5cecfc..f4dd340 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&timestamps=' . $timestamp . '&radiuses=' . $radiuses;
+        $url = 'http://94.130.13.157:' . $port . '/match/v1/' . $vehicle . '/' . $points . '?steps=true&geometries=geojson&timestamps=' . $timestamp . '&radiuses=' . $radiuses;
 
         // make request
         $ch = curl_init();
-- 
GitLab