From a3ecfeebaccfbf93b588ae869db03b91e99797e9 Mon Sep 17 00:00:00 2001 From: Vesa Meskanen Date: Wed, 26 Apr 2023 13:48:51 +0300 Subject: [PATCH] chore: update theme map to allow host name mapping in finland UI server --- app/configurations/config.default.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/configurations/config.default.js b/app/configurations/config.default.js index d5141908bc..5defc74c7a 100644 --- a/app/configurations/config.default.js +++ b/app/configurations/config.default.js @@ -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', @@ -777,7 +778,7 @@ export default { lahti: 'lahti', kuopio: 'kuopio', varely: '(seutuplus|varely)', - matkalaskuri: 'kela', + kela: 'kelareitit', pori: 'pori', },