Fork me on GitHub
#pedestal
<
2016-03-20
>
afhammad00:03:12

hey, can anyone point me to an example of a pedestal + mount + figwheel setup?

xlevus20:03:46

Is there a sane way to debug routes? I've done a (concat api-routes routes) to join two defroutes together. and when doing (map :path all-routes) I more or less get what I expect... ("/" "/about" "/api/swagger.json" "/api/*resource") but doing a GET on /api/swagger.json 404s.

xlevus21:03:48

ahh. Completely different issue. Was following: https://blog.juxt.pro/posts/pedestal-api.html and the glob was consuming everything for whatever reason

xlevus21:03:22

but how the example redirects / to /index.html and then serves content is pretty much a mystery. And why having ["/*resource" {:get api/swagger-ui}] in my API routes gobbles everything under /api up in my project and not in the demo project is also a mystery. Questions for tomorrow I think.