From e5a97e0d4eb4edd0767dc568b688454c8a090c70 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 16 Aug 2018 22:04:12 +0200 Subject: Another fix for assets handler with Jooby 1.4.0+ --- kvision-server/src/main/kotlin/pl/treksoft/kvision/remote/Jooby.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvision-server/src/main/kotlin') 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)) -- cgit