aboutsummaryrefslogtreecommitdiff
path: root/kvision-server
diff options
context:
space:
mode:
Diffstat (limited to 'kvision-server')
-rw-r--r--kvision-server/src/main/kotlin/pl/treksoft/kvision/remote/Jooby.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvision-server/src/main/kotlin/pl/treksoft/kvision/remote/Jooby.kt b/kvision-server/src/main/kotlin/pl/treksoft/kvision/remote/Jooby.kt
index a529aa27..346b55cc 100644
--- a/kvision-server/src/main/kotlin/pl/treksoft/kvision/remote/Jooby.kt
+++ b/kvision-server/src/main/kotlin/pl/treksoft/kvision/remote/Jooby.kt
@@ -38,9 +38,9 @@ import kotlinx.coroutines.experimental.async as coroutinesAsync
actual open class JoobyServer(init: JoobyServer.() -> Unit) : Kooby() {
init {
@Suppress("LeakingThis")
- assets("/**")
- @Suppress("LeakingThis")
assets("/", "index.html")
+ @Suppress("LeakingThis")
+ assets("/**")
val mapper = jacksonObjectMapper()
@Suppress("LeakingThis")
use(Jackson(mapper))