From d4eb9e7d6bc326a8efc069c25af2ee35ab87acc4 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Thu, 13 Apr 2017 08:00:59 +0000
Subject: [PATCH] Fix rotation
---
proxy.php | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/proxy.php b/proxy.php
index 9a64d1a..2aedacb 100644
--- a/proxy.php
+++ b/proxy.php
@@ -30,13 +30,16 @@
'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' => [
'routeId' => 'ctype_digit',
],
+ '/services/stopInfo/stop' => [
+ 'stop' => 'ctype_digit',
+ ],
'/services/stopInfo/stopPoint' => [
'stopPoint' => 'ctype_digit',
],
--
Gitblit v1.9.1