This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-02-22
Channels
- # aleph (5)
- # announcements (5)
- # babashka (8)
- # beginners (63)
- # biff (43)
- # calva (17)
- # clj-kondo (76)
- # clojure (105)
- # clojure-europe (77)
- # clojure-nl (1)
- # clojure-norway (40)
- # clojure-uk (4)
- # clojuredesign-podcast (20)
- # clojurescript (35)
- # clr (7)
- # cursive (5)
- # data-science (1)
- # datomic (41)
- # fulcro (14)
- # hyperfiddle (22)
- # malli (12)
- # off-topic (17)
- # re-frame (6)
- # reitit (3)
- # releases (1)
- # ring (2)
- # scittle (1)
- # shadow-cljs (6)
- # specter (3)
- # xtdb (3)
what's the right way to do CORS in Aleph? I can't find an example online. All I'm trying to do is to get my localhost webapp to talk to my locahost web server.
What's the problem you're running into? I've never had issues connecting to localhost
If it's really CORS you need then you'll probably want a ring middleware for that, there should be some out there
Aleph has equivalents of most of the default Ring middleware, and is compatible with the rest (tho async Ring middleware requires wrapping in a fn) If you want to add this to the examples/ directory, PRs are welcome!