From 82283790c900f2afa2bb9ae8ec0e47f568c0adec Mon Sep 17 00:00:00 2001 From: Tore Sinding Bekkedal Date: Thu, 21 Nov 2024 13:30:16 +0100 Subject: [PATCH] hail mary for dekoratoren --- src/app/[locale]/page.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/[locale]/page.tsx b/src/app/[locale]/page.tsx index 9675908b1..798dcd946 100644 --- a/src/app/[locale]/page.tsx +++ b/src/app/[locale]/page.tsx @@ -9,6 +9,8 @@ import {configureLogger} from "@navikt/next-logger"; import {initAmplitude} from "../../lib/amplitude/Amplitude.tsx"; const Page = () => { + // @ts-expect-error production hack + window.__DECORATOR_DATA__.env.LOGIN_SESSION_API_URL = "https://www.nav.no/sosialhjelp/soknad/oauth2/session"; configureLogger({basePath: BASE_PATH}); initAmplitude(); const {path} = getPathPrefixIncludingLocale();