Fix reloading
parent
f6e6b90d8d
commit
4aff34926f
|
@ -25,7 +25,7 @@ fun initApiServer(apiServerPort: Int, database: Database) {
|
|||
Javalin.create { config ->
|
||||
config.enableCorsForAllOrigins()
|
||||
config.addStaticFiles("spa")
|
||||
config.addSinglePageRoot("/", "spa")
|
||||
config.addSinglePageRoot("", "spa/index.html")
|
||||
config.enforceSsl = false
|
||||
config.ignoreTrailingSlashes = true
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue