Rails RoutingError (No route matches [OPTIONS]

后端 未结 1 1749
孤独总比滥情好
孤独总比滥情好 2020-12-17 15:30

I\'m creating a rest api using rails and making calls from a remote ember app using ember data. I\'m getting this routing error on what should be a GET request. How do I cre

相关标签:
1条回答
  • 2020-12-17 16:01

    Installing and configuring this gem should allow your Rails application to properly process the options request caused by CORS:

    https://github.com/cyu/rack-cors

    0 讨论(0)
提交回复
热议问题