From 40cfbf0e09ce640b8c8d9595f813643374e2fe2b Mon Sep 17 00:00:00 2001 From: Markus Johansen Date: Thu, 13 Jul 2023 13:05:24 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20La=20til=20useResources=3DTrue?= =?UTF-8?q?=20i=20Routing.kts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sindre Kjelsrud Co-authored-by: Amalie Mansåker Co-authored-by: Christian Bulow Skovborg --- backend/src/main/kotlin/no/nav/helse/sprik/plugins/Routing.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/main/kotlin/no/nav/helse/sprik/plugins/Routing.kt b/backend/src/main/kotlin/no/nav/helse/sprik/plugins/Routing.kt index eaf420e..9ae4afc 100644 --- a/backend/src/main/kotlin/no/nav/helse/sprik/plugins/Routing.kt +++ b/backend/src/main/kotlin/no/nav/helse/sprik/plugins/Routing.kt @@ -27,6 +27,7 @@ fun configureRouting(): ApplicationEngine = embeddedServer(CIO, applicationEngin } routing { singlePageApplication{ + useResources = true //????????????????????? filesPath = "frontend/.next/server/pages/" defaultPage = "index.html" ignoreFiles {