前端发起请求后报这个错误是什么原因?
Access to XMLHttpRequest at 'http://localhost:8080/authentication/login' from origin 'http://localhost:8081' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.
想问下这个怎么解决,
谢谢
前端发起请求后报这个错误是什么原因? Access to XMLHttpRequest at 'http://localhost:8080/authentication/login' from origin 'http://localhost:8081' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request. 想问下这个怎么解决, 谢谢