r0man / ring-cors

Ring middleware for Cross-Origin Resource Sharing.
http://github.com/r0man/ring-cors
166 stars 44 forks source link

Documentation is non-existant; can't get this to work. #29

Open patientplatypus opened 5 years ago

patientplatypus commented 5 years ago

Seriously fam, can you provide a better example of how to get this to work with a simple server? I can't get a 200 options request to return on a pre-flight of a post request in prod and you have like 3 lines on how this library is supposed to work. That is super frustrating.

See the issue here: https://stackoverflow.com/questions/58030830/clojure-cross-origin-error-totally-lost