Closed dcj closed 10 years ago
Apparently now the :access-control-allow-methods directive supports (only?) a vector of method keywords? e.g.
:access-control-allow-methods [:get :put :post :delete]
Where before the methods were strings, correct? I vastly prefer the keywords, made this change, and my app is working again.
If this is a breaking API change, perhaps that might be noted in the README/commit for this version?
With version 0.1.1, my app included this:
When I switched to version 0.1.2 (no other change to my code), then the CORS headers are not included in the response to the OPTIONS request.
FYI, my request headers look like this:
Is this a bug in my code, or has something changed in ring-cors?