diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-08-16 22:04:12 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-08-16 22:04:12 +0200 |
commit | e5a97e0d4eb4edd0767dc568b688454c8a090c70 (patch) | |
tree | d3e4246a96b3910c222e4128734305df7e3d7ad2 /kvision-server/src/main/kotlin/pl | |
parent | 3073de3cfb4acbde4d29f9091212436c2e6f0e7f (diff) | |
download | kvision-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/main/kotlin/pl')
-rw-r--r-- | kvision-server/src/main/kotlin/pl/treksoft/kvision/remote/Jooby.kt | 2 |
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)) |