From 71ca71f861d036f3f3b9c3265ee963ce9cc77ad6 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Thu, 13 Apr 2017 00:03:41 +0000 Subject: [PATCH] Simplify stops download using stopinfo/stops API method --- proxy.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy.php b/proxy.php index 9a64d1a..cb7b642 100644 --- a/proxy.php +++ b/proxy.php @@ -30,8 +30,8 @@ 'id' => 'ctype_digit', ], '/geoserviceDispatcher/services/vehicleinfo/vehicles' => [ - // 'lastUpdate' => 'ctype_digit', - 'positionType' => function($type) { return in_array($type, ['CORRECTED']); }, + 'lastUpdate' => 'ctype_digit', + 'positionType' => function($type) { return in_array($type, ['CORRECTED', 'NORMAL']); }, 'colorType' => function($type) { return in_array($type, ['ROUTE_BASED']); }, ], '/services/routeInfo/routeStops' => [ -- Gitblit v1.9.1