This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-03-20
Channels
- # beginners (7)
- # boot (39)
- # braid-chat (3)
- # braveandtrue (1)
- # cider (27)
- # cljsjs (15)
- # cljsrn (6)
- # clojars (18)
- # clojure (307)
- # clojure-art (1)
- # clojure-brasil (1)
- # clojure-italy (2)
- # clojure-poland (3)
- # clojure-russia (61)
- # clojure-sdn (2)
- # clojure-taiwan (4)
- # clojure-uk (5)
- # clojurebridge (7)
- # clojurescript (19)
- # core-async (1)
- # core-matrix (1)
- # cursive (35)
- # datomic (3)
- # emacs (51)
- # euroclojure (3)
- # hoplon (20)
- # jobs (1)
- # keechma (1)
- # mount (3)
- # off-topic (2)
- # om (177)
- # onyx (96)
- # parinfer (4)
- # pedestal (4)
- # re-frame (19)
- # reagent (7)
- # untangled (5)
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.
ahh. Completely different issue. Was following: https://blog.juxt.pro/posts/pedestal-api.html and the glob was consuming everything for whatever reason
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.