This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-01
Channels
- # aleph (4)
- # arachne (24)
- # beginners (231)
- # boot (4)
- # cider (63)
- # clara (36)
- # cljs-dev (57)
- # clojure (195)
- # clojure-dev (12)
- # clojure-gamedev (2)
- # clojure-greece (1)
- # clojure-italy (10)
- # clojure-poland (4)
- # clojure-spec (36)
- # clojure-uk (65)
- # clojurescript (133)
- # core-async (8)
- # core-logic (2)
- # cursive (18)
- # data-science (3)
- # datomic (58)
- # defnpodcast (3)
- # duct (2)
- # emacs (2)
- # fulcro (27)
- # graphql (3)
- # hoplon (18)
- # jobs (2)
- # jobs-discuss (10)
- # jobs-rus (1)
- # lumo (1)
- # mount (6)
- # nyc (2)
- # off-topic (27)
- # pedestal (13)
- # re-frame (71)
- # reagent (105)
- # reitit (4)
- # ring (2)
- # ring-swagger (1)
- # rum (10)
- # shadow-cljs (172)
- # spacemacs (24)
- # sql (26)
- # tools-deps (1)
- # uncomplicate (4)
- # unrepl (51)
- # vim (3)
- # yada (11)
@manutter51 Maybe #ring can help? (on holiday still 2 weeks, no computers here)
No worries, enjoy your holiday 🙂
Actually, I just now figured it out. My original sandbox app just had routes for “/” and “/about”, and I noticed that none of the middleware was running for any URL that started with “/css” or “/js”. My guess was that the middleware is only invoked after matching on a URL pattern, so at the end of my routes list I added some “middleware hook routes,” like this:
["/js/*" (fn [_] nil)]
["/css/*" (fn [_] nil)]
["/img/*" (fn [_] nil)]
And now I’m getting my re-frame app up and running, woot!Very pleased with how easy it is to debug a routing problem with the reitit tools, btw--great job!