This repository has been archived on 2025-11-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
trafficcue-client/src/lib/services/hosts.ts
Cfp 4b20143480
All checks were successful
TrafficCue CI / check (push) Successful in 55s
TrafficCue CI / build (push) Successful in 50s
fix: require http scheme for dev LNV server
2025-07-03 19:07:50 +02:00

11 lines
608 B
TypeScript

export const MAP_SERVER = "https://tiles.openfreemap.org/styles/liberty";
// export const MAP_SERVER = "https://tiles.map.picoscratch.de/styles/ofm/liberty.json";
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 =
location.hostname == "localhost" && location.protocol == "http:"
? "http://localhost:3000/api"
: "https://trafficcue-api.picoscratch.de/api";