aboutsummaryrefslogtreecommitdiff
path: root/kvision-server/src
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-08-16 22:04:12 +0200
committerRobert Jaros <rjaros@finn.pl>2018-08-16 22:04:12 +0200
commite5a97e0d4eb4edd0767dc568b688454c8a090c70 (patch)
treed3e4246a96b3910c222e4128734305df7e3d7ad2 /kvision-server/src
parent3073de3cfb4acbde4d29f9091212436c2e6f0e7f (diff)
downloadkvision-e5a97e0d4eb4edd0767dc568b688454c8a090c70.tar.gz
kvision-e5a97e0d4eb4edd0767dc568b688454c8a090c70.tar.bz2
kvision-e5a97e0d4eb4edd0767dc568b688454c8a090c70.zip
Another fix for assets handler with Jooby 1.4.0+
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))