this is how it is configured in package.json:
"proxy": {
"/api": {
"target": "https://xxxxxx",
"changeOrigin": true,
"secure": false
}
},
then it often appears to refresh the error 500, and there is no problem with the request from the server. Sometimes I can ask for success, sometimes I can ask for 500, and I don"t know what"s going on.
GET http://localhost:3000/api/xxxxxx 500 (Internal Server Error)
Proxy error: Could not proxy request / api/xxxxxx from localhost:3000 to https://xxxxxx.
seek advice from the great gods