From bb78f4949bf8b613fa433befe84bf2bea0d6f604 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Thu, 13 Jun 2019 18:48:44 +0000 Subject: [PATCH] Use ttss.mpk.krakow.pl instead of IP 91.223.13.70 (TTSS buses) --- proxy_bus.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy_bus.php b/proxy_bus.php index 75b2367..7d33d34 100644 --- a/proxy_bus.php +++ b/proxy_bus.php @@ -12,7 +12,7 @@ ); } -$base_proxy = 'http://91.223.13.70/internetservice'; +$base_proxy = 'http://ttss.mpk.krakow.pl/internetservice'; $method = [ '/services/lookup/autocomplete/json' => [ 'query' => function() { return TRUE; }, @@ -65,7 +65,7 @@ ], '/geoserviceDispatcher/services/vehicleinfo/vehicles' => [ 'lastUpdate' => 'ctype_digit', - 'positionType' => function($type) { return in_array($type, ['CORRECTED']); }, + 'positionType' => function($type) { return in_array($type, ['CORRECTED', 'RAW']); }, 'colorType' => function($type) { return in_array($type, ['ROUTE_BASED']); }, ], ]; -- Gitblit v1.9.1