Skip to content

Commit

Permalink
Merge pull request #5184 from HSLdevcom/DT-6575
Browse files Browse the repository at this point in the history
DT-6575 Merge waltti-alt routing into waltti routing
  • Loading branch information
vesameskanen authored Dec 3, 2024
2 parents 4344ace + 605f78b commit ecc0eaf
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions app/configurations/config.walttiOpas.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit ecc0eaf

Please sign in to comment.