Skip to content

Commit

Permalink
chore: update theme map to allow host name mapping in finland UI server
Browse files Browse the repository at this point in the history
  • Loading branch information
vesameskanen committed Apr 26, 2023
1 parent bd54415 commit a3ecfee
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/configurations/config.default.js
Original file line number Diff line number Diff line change
Expand Up @@ -758,14 +758,15 @@ export default {
],

/* Do not change order of theme map lines */
/* key: name of theme, value: regex matching part of host name */
themeMap: {
hsl: 'reittiopas',
hsl: '(reittiopas|next-dev.digitransit)',
turku: '(turku|foli)',
lappeenranta: 'lappeenranta',
joensuu: 'joensuu',
oulu: 'oulu',
hameenlinna: 'hameenlinna',
matka: 'matka',
matka: '(matka|^dev.digitransit)',
vaasa: 'vaasa',
walttiOpas: 'waltti',
rovaniemi: 'rovaniemi',
Expand All @@ -777,7 +778,7 @@ export default {
lahti: 'lahti',
kuopio: 'kuopio',
varely: '(seutuplus|varely)',
matkalaskuri: 'kela',
kela: 'kelareitit',
pori: 'pori',
},

Expand Down

0 comments on commit a3ecfee

Please sign in to comment.