File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ export function getLocationDT(location) {
300
300
*/
301
301
return ( dispatch , getState ) => {
302
302
let region = "akl" ;
303
- let url = DT_SERVER + `/transit?region= ${ region } &location= ${ location } &direction=inbound ` ;
303
+ let url = DT_SERVER + `/data/inbound/ ${ region } / ${ location } .json ` ;
304
304
305
305
console . log ( url ) ;
306
306
// console.log('getting data for destination:', location);
@@ -314,7 +314,7 @@ export function getLocationDT(location) {
314
314
console . error ( error )
315
315
} )
316
316
317
- url = DT_SERVER + `/transit?region= ${ region } &location= ${ location } &direction=outbound ` ;
317
+ url = DT_SERVER + `/data/outbound/ ${ region } / ${ location } .json ` ;
318
318
const outbound = fetch ( url )
319
319
. then ( response => response . json ( ) )
320
320
. then ( ( data ) => {
You can’t perform that action at this time.
0 commit comments