🔧 Prøv å bootstrap´e uten react helper
Co-authored-by: Markus A. R. Johansen <markus.aleksander.rakil.johansen@nav.no> Co-authored-by: Sindre Kjelsrud <sindre.kjelsrud@nav.no> Co-authored-by: Christian Bülow Skovborg <christian.bulow.skovborg@nav.no>
This commit is contained in:
parent
79931f3c72
commit
c52f91bc7b
1 changed files with 3 additions and 1 deletions
|
@ -27,7 +27,9 @@ fun configureRouting(): ApplicationEngine = embeddedServer(CIO, applicationEngin
|
||||||
}
|
}
|
||||||
routing {
|
routing {
|
||||||
singlePageApplication{
|
singlePageApplication{
|
||||||
react("frontend/out")
|
useResources = true
|
||||||
|
filesPath = "frontend/out"
|
||||||
|
defaultPage = "index.html"
|
||||||
ignoreFiles {
|
ignoreFiles {
|
||||||
it.endsWith(".txt")
|
it.endsWith(".txt")
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue