From a1f539a810e998ec9e1fc5d15af57c9459957bf7 Mon Sep 17 00:00:00 2001 From: Linus Flood Date: Wed, 26 Mar 2025 13:17:08 +0000 Subject: [PATCH] Merged in fix/mystays-urls (pull request #1647) Fix mystays url * Fix mystays url Approved-by: Michael Zetterberg --- apps/scandic-web/server/routers/user/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/scandic-web/server/routers/user/utils.ts b/apps/scandic-web/server/routers/user/utils.ts index 833fcd246..a7d72ae4e 100644 --- a/apps/scandic-web/server/routers/user/utils.ts +++ b/apps/scandic-web/server/routers/user/utils.ts @@ -83,7 +83,7 @@ async function updateStaysBookingUrl( if (env.HIDE_FOR_NEXT_RELEASE) { // Temporary Url, domain and lang support for current web - let bookingUrl = new URL( + bookingUrl = new URL( "/hotelreservation/my-booking", env.PUBLIC_URL || "https://www.scandichotels.com" // fallback to production for ephemeral envs (like deploy previews) )