🔧 La til useResources=True i Routing.kts
Co-authored-by: Sindre Kjelsrud <sindre.kjelsrud@nav.no> Co-authored-by: Amalie Mansåker <amalie.erdal.mansaker@nav.no> Co-authored-by: Christian Bulow Skovborg <christian.bulow.skovborg@nav.no>
This commit is contained in:
parent
9da5d0c69a
commit
40cfbf0e09
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ fun configureRouting(): ApplicationEngine = embeddedServer(CIO, applicationEngin
|
||||||
}
|
}
|
||||||
routing {
|
routing {
|
||||||
singlePageApplication{
|
singlePageApplication{
|
||||||
|
useResources = true //?????????????????????
|
||||||
filesPath = "frontend/.next/server/pages/"
|
filesPath = "frontend/.next/server/pages/"
|
||||||
defaultPage = "index.html"
|
defaultPage = "index.html"
|
||||||
ignoreFiles {
|
ignoreFiles {
|
||||||
|
|
Reference in a new issue