diff --git a/app/configurations/config.walttiOpas.js b/app/configurations/config.walttiOpas.js index 1b6b92ee91..1661de63b6 100644 --- a/app/configurations/config.walttiOpas.js +++ b/app/configurations/config.walttiOpas.js @@ -7,29 +7,9 @@ const APP_DESCRIPTION = 'Uusi Reittiopas - Waltti-opas'; const walttiConfig = require('./config.waltti').default; -const API_URL = process.env.API_URL || 'https://dev-api.digitransit.fi'; -const OTP_URL = process.env.OTP_URL || `${API_URL}/routing/v2/waltti-alt/` -const MAP_URL = - process.env.MAP_URL || 'https://digitransit-dev-cdn-origin.azureedge.net'; -const POI_MAP_PREFIX = `${MAP_URL}/map/v3/waltti-alt`; - export default configMerger(walttiConfig, { CONFIG, - URL: { - OTP: OTP_URL, - STOP_MAP: { - default: `${POI_MAP_PREFIX}/fi/stops,stations/`, - sv: `${POI_MAP_PREFIX}/sv/stops,stations/`, - }, - RENTAL_STATION_MAP: { - default: `${POI_MAP_PREFIX}/fi/rentalStations/`, - }, - REALTIME_RENTAL_STATION_MAP: { - default: `${POI_MAP_PREFIX}/fi/realtimeRentalStations/`, - } - }, - appBarLink: { name: 'Waltti', href: 'https://waltti.fi/' }, colors: {