ring

bringe 2018-09-28T14:09:12.000100Z

I am trying to achieve a similar goal to the above user, with just compojure and ring. I'm wondering why this code does not only run the verify-token middleware for the GET request, but also runs it for the POST request, even though I specified the middleware just for the GET.

bringe 2018-09-28T14:16:06.000100Z

Or should I be implementing per-route logic differently?

ikitommi 2018-09-28T15:20:55.000100Z

@brandon.ringe with normal compojure, you can use wrap-routes. Just don't use nginx-clojure with it (https://github.com/nginx-clojure/nginx-clojure/issues/182)

bringe 2018-09-28T15:23:18.000100Z

Thanks @ikitommi