From 916bd6d9f086b4d8f52a973a43e50f0956765fb0 Mon Sep 17 00:00:00 2001 From: Tore Sinding Bekkedal Date: Tue, 19 Nov 2024 17:51:51 +0100 Subject: [PATCH] =?UTF-8?q?Fjerner=20trailingSlash=20i=20h=C3=A5p=20om=20a?= =?UTF-8?q?t=20dette=20vil=20fikse=20issues=20med=20soknad-api=20proxy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- next.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next.config.mjs b/next.config.mjs index abe986900..b18ec8200 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -7,7 +7,7 @@ const nextConfig = { // FIXME: Use environment variables basePath: "/sosialhjelp/soknad", // For å unngå issues med nginx - trailingSlash: true, + trailingSlash: false, experimental: { optimizePackageImports: ["@navikt/ds-react", "@navikt/aksel-icons"], },