From f1de5f8d11b90e98d77918e839d0bb3fac5462fb Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Tue, 09 Jun 2020 21:39:25 +0000 Subject: [PATCH] [map] Add parameter for poll api refresh interval --- proxy_tram.php | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/proxy_tram.php b/proxy_tram.php index 7f3d8a0..40e04ee 100644 --- a/proxy_tram.php +++ b/proxy_tram.php @@ -1,3 +1,6 @@ <?php $base_proxy = 'http://www.ttss.krakow.pl/internetservice'; +if($_GET['positionType'] ?? NULL === 'RAW') { + $_GET['positionType'] = 'CORRECTED'; +} require('proxy_common.php'); -- Gitblit v1.9.1