aboutsummaryrefslogtreecommitdiff
path: root/kvision-server/src
diff options
context:
space:
mode:
Diffstat (limited to 'kvision-server/src')
-rw-r--r--kvision-server/src/main/kotlin/pl/treksoft/kvision/remote/Jooby.kt2
1 files changed, 1 insertions, 1 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 346b55cc..57fe1c36 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
@@ -40,7 +40,7 @@ actual open class JoobyServer(init: JoobyServer.() -> Unit) : Kooby() {
@Suppress("LeakingThis")
assets("/", "index.html")
@Suppress("LeakingThis")
- assets("/**")
+ assets("/**").onMissing(0)
val mapper = jacksonObjectMapper()
@Suppress("LeakingThis")
use(Jackson(mapper))