mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
Zmiana linku API
This commit is contained in:
@@ -3,7 +3,7 @@ export const URLs = {
|
|||||||
sceneryDataDev: "http://127.0.0.1:8000/data",
|
sceneryDataDev: "http://127.0.0.1:8000/data",
|
||||||
stations: "https://api.td2.info.pl:9640/?method=getStationsOnline",
|
stations: "https://api.td2.info.pl:9640/?method=getStationsOnline",
|
||||||
dispatchers: "https://api.td2.info.pl:9640/?method=readFromSWDR&value=getDispatcherStatusList%3B1",
|
dispatchers: "https://api.td2.info.pl:9640/?method=readFromSWDR&value=getDispatcherStatusList%3B1",
|
||||||
stacjownikAPI: "https://stacjownik.herokuapp.com",
|
stacjownikAPI: "https://stacjownik.eu-4.evennode.com",
|
||||||
stacjownikAPIDev: "http://localhost:3001"
|
stacjownikAPIDev: "http://localhost:3001"
|
||||||
// trains: "https://api.td2.info.pl:9640/?method=getTrainsOnline",
|
// trains: "https://api.td2.info.pl:9640/?method=getTrainsOnline",
|
||||||
// getTimetableURL: (trainNo: string | number, region = "eu") => `https://api.td2.info.pl:9640/?method=readFromSWDR&value=getTimetable%3B${trainNo}%3B${region}`
|
// getTimetableURL: (trainNo: string | number, region = "eu") => `https://api.td2.info.pl:9640/?method=readFromSWDR&value=getTimetable%3B${trainNo}%3B${region}`
|
||||||
|
|||||||
Reference in New Issue
Block a user