From 831c042af5d683a9aec4bf64543b929d9aacd688 Mon Sep 17 00:00:00 2001 From: Janne Antikainen Date: Fri, 5 Jun 2026 07:50:39 +0300 Subject: [PATCH 1/2] TODO --- app/component/AppBarHsl.js | 2 +- app/configurations/config.hsl.js | 5 +++-- server/server.js | 11 ----------- 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/app/component/AppBarHsl.js b/app/component/AppBarHsl.js index 3516735bae..30d2fad4ff 100644 --- a/app/component/AppBarHsl.js +++ b/app/component/AppBarHsl.js @@ -207,7 +207,7 @@ const AppBarHsl = ({ lang, user, favourites }, context) => { {!config.hideHeader && ( req.url, - }), - ); - } } function onError(err, req, res) { From 76e31b5ae9b420a30e6b0e91e3589ca6b59b2ae1 Mon Sep 17 00:00:00 2001 From: Janne Antikainen Date: Fri, 5 Jun 2026 10:14:38 +0300 Subject: [PATCH 2/2] default static files env --- app/configurations/config.hsl.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/configurations/config.hsl.js b/app/configurations/config.hsl.js index e1b1862c04..f18c8259cb 100644 --- a/app/configurations/config.hsl.js +++ b/app/configurations/config.hsl.js @@ -19,7 +19,7 @@ const SUGGESTION_URL = process.env.CONTENT_DOMAIN : 'https://content.hsl.fi/api/v1/search/suggestions'; // old url const travelersAccountUrl = process.env.TRAVELERS_ACCOUNT_URL; const staticAssetsUrl = - process.env.STATIC_ASSETS_URL || 'https://staticfiles.hsl.fi'; + process.env.STATIC_ASSETS_URL || 'https://staticfiles-test.hslfi.hsldev.com/'; const virtualMonitorBaseUrl = IS_DEV ? 'https://dev-hslmonitori.digitransit.fi' @@ -771,5 +771,5 @@ export default { priority: 'Secondary', }, ], - showStaticCrisisBanners: true, + showStaticCrisisBanners: false, };