https://kotlinlang.org logo
#http4k
Title
# http4k
n

Nezteb

05/16/2019, 1:40 AM
i found a hacky way to do this for now, but don’t like it. i basically make a filter that runs before all the others, and if the request URI is exactly “/health”, then i return a
Response(OK)
, but that’s… meh
d

dave

05/16/2019, 4:18 AM
You want to make 2 routes blocks, apply the filter to one of them and then compose them together in another routes block.