且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Rails,请求的资源上不存在“Access-Control-Allow-Origin"标头

更新时间:2022-06-25 03:53:38

这是 CORS 错误.您需要在服务器端启用 CORS 并在客户端传递正确的标头.也谷歌同源政策"

This is a CORS error. You need to enable CORS on the server side and past the correct headers on the client side. Also google "Same Origin Policy"