reitit

https://cljdoc.org/d/metosin/reitit/ https://github.com/metosin/reitit/
Fabim 2021-03-02T15:59:32.012800Z

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.

ikitommi 2021-03-02T16:45:51.015200Z

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

❤️ 1