Fork me on GitHub
#reitit
<
2021-03-02
>
Fabim15:03:32

Did anyone use http-kit with reitit and can share the setup code? The setup was working in compojure (run-server #’handler {:port}). when I replace the #’handler with reitit routes they are just ignored.

ikitommi16:03:51

@merklefabian try (reitit.ring/ring-handler (reitit.ring/router ["/hello" (constantly {:status 200, :body "hello"})])) as the handler.

❤️ 3