Axios having CORS issue

后端 未结 6 1953
温柔的废话
温柔的废话 2020-11-30 05:38

I added proxy in package.json and it worked great, but after npm run build the CORS issue has resurfaced again, does anyone know how to deal with CORS issue after npm run bu

6条回答
  •  天涯浪人
    2020-11-30 05:55

    your server should enable the cross origin requests, not the client. To do this, you can check this nice page with implementations and configurations for multiple platforms

提交回复
热议问题