diff --git a/src/lib/services/hosts.ts b/src/lib/services/hosts.ts index 9f335e4..b67c659 100644 --- a/src/lib/services/hosts.ts +++ b/src/lib/services/hosts.ts @@ -4,4 +4,4 @@ export const ROUTING_SERVER = "https://valhalla1.openstreetmap.de/"; // export const ROUTING_SERVER = "https://routing.map.picoscratch.de"; export const SEARCH_SERVER = "https://photon.komoot.io/"; export const OVERPASS_SERVER = "https://overpass-api.de/api/interpreter"; -export const LNV_SERVER = "http://localhost:3000/api"; \ No newline at end of file +export const LNV_SERVER = location.hostname == "localhost" ? "http://localhost:3000/api" : "https://trafficcue-api.picoscratch.de/api"; \ No newline at end of file