reitit

Nim Sadeh 2025-04-29T21:29:15.269179Z

Not sure if this is the right place to ask but I'm trying to replicate Compojure's context functionality in Reitit to work with Goose's console. I already have a whole app set up in Reitit so I don't want to migrate to Compojure. Here are the instructions for the Goose console: https://github.com/nilenso/goose/wiki/Console Here's where I am right now for the code

["/goose"  (partial
               console/app-handler
               (assoc console/default-console-opts
                      :broker
                      (jobs-scheduler :producer)))]
My construction is a bit different but all the requisite pieces are there as far as the parameter maps to app-handler. When I curl for /goose I get a 302 without anything in the response body. I tried putting the handler inside a map with a :get endpoint, in a map with just a handler keyword, but all had the same behavior. I figured this is more of a Reitit question than a Goose one

Nim Sadeh 2025-04-29T22:15:12.278719Z

Managed to solve this with a wildcard

👍 1