From ceb113a2a14dc74060951f1676f4ec0165fb4d31 Mon Sep 17 00:00:00 2001 From: Terje Karlsen Date: Sun, 8 Oct 2023 10:00:14 +0200 Subject: [PATCH] Legger til api som endepunkt for unleash --- src/server/api-handlers/features.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api-handlers/features.ts b/src/server/api-handlers/features.ts index 606334068..c71492640 100644 --- a/src/server/api-handlers/features.ts +++ b/src/server/api-handlers/features.ts @@ -14,7 +14,7 @@ const initializeUnleash = async () => { try { unleashInstance = initialize({ - url: UNLEASH_SERVER_API_URL, + url: `${UNLEASH_SERVER_API_URL}/api/`, appName: 'nav-dekoratoren', customHeaders: { Authorization: UNLEASH_SERVER_API_TOKEN }, });