Fix tram route not displayed due to wrong URL
| | |
| | | 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; |
| | |
| | | '/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']; |