💚 Backend henter frontend fra dist
Co-authored-by: Øydis Kind Refsum <oydis.kind.refsum@nav.no> Co-authored-by: Christian Bulow Skovborg <christian.bulow.skovborg@nav.no> Co-authored-by: Amalie Mansåker <amalie.erdal.mansaker@nav.no> Co-authored-by: Sindre Kjelsrud <sindre.kjelsrud@nav.no>
This commit is contained in:
parent
177d6c7cd8
commit
1805256e3c
10 changed files with 1283 additions and 33 deletions
|
@ -32,7 +32,7 @@ fun configureRouting(): ApplicationEngine = embeddedServer(CIO, applicationEngin
|
|||
routing {
|
||||
singlePageApplication{
|
||||
useResources = true
|
||||
filesPath = "frontend/out"
|
||||
filesPath = "frontend/dist"
|
||||
defaultPage = "index.html"
|
||||
ignoreFiles {
|
||||
it.endsWith(".txt")
|
||||
|
|
Reference in a new issue