From 9dd3d1773db1ec93be79485b85d533fe688e5094 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Tue, 25 Apr 2017 06:58:49 +0000
Subject: [PATCH] Fix tram route not displayed due to wrong URL

---
 map.js    |    2 +-
 proxy.php |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/map.js b/map.js
index 4b7365f..fa587a0 100644
--- a/map.js
+++ b/map.js
@@ -293,7 +293,7 @@
 		if(!vehicleId) return;
 	       
 		feature_xhr = $.get(
-			ttss_base + '/internetservice/geoserviceDispatcher/services/pathinfo/vehicle'
+			ttss_base + '/geoserviceDispatcher/services/pathinfo/vehicle'
 				+ '?id=' + encodeURIComponent(vehicleId)
 		).done(function(data) {
 			if(!data || !data.paths || !data.paths[0] || !data.paths[0].wayPoints) return;
diff --git a/proxy.php b/proxy.php
index 9962f91..f24d447 100644
--- a/proxy.php
+++ b/proxy.php
@@ -73,6 +73,7 @@
 	'/lookup/autocomplete/json' => '/services/lookup/autocomplete/json',
 	'/passageInfo/stopPassages/stop' => '/services/passageInfo/stopPassages/stop',
 	'/routeInfo/routeStops' => '/services/routeInfo/routeStops',
+	'/internetservice/geoserviceDispatcher/services/pathinfo/vehicle' => '/geoserviceDispatcher/services/pathinfo/vehicle',
 ];
 
 $path = $_SERVER['PATH_INFO'];

--
Gitblit v1.9.1