cyu / rack-cors

Rack Middleware for handling Cross-Origin Resource Sharing (CORS), which makes cross-origin AJAX possible.
MIT License
3.26k stars 263 forks source link

Rack-cors doesn't work with rails 6 #215

Closed Shintouney closed 3 years ago

Shintouney commented 3 years ago

I cannot operate rack-cors with rails 6

mohsin-rafii commented 3 years ago

I can't get rack cors to work on rails 6 neither.

cyu commented 3 years ago

There's a working example of this middleware working w/ Rails 6.

https://github.com/cyu/rack-cors/tree/master/examples/rails6