aleph

Nim Sadeh 2024-02-22T20:45:02.301319Z

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.

Matthew Davidson 2024-02-23T10:50:27.154189Z

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!

valerauko 2024-02-23T01:52:00.946089Z

What's the problem you're running into? I've never had issues connecting to localhost

valerauko 2024-02-23T01:52:23.887319Z

If it's really CORS you need then you'll probably want a ring middleware for that, there should be some out there

Nim Sadeh 2024-02-23T02:56:33.524419Z

Yea I ended up using a Ring middleware to resolve the CORS issue