0
"proxy": {
"/auth/google": {
"target": "http://localhost:5001"
},
"/api/user": {
"target": "http://localhost:5001"
}
},
"proxy": {
"/auth/google": {
"target": "http://localhost:5001"
},
"/api/user": {
"target": "http://localhost:5001"
}
},
das Problem gelöst, sollte ich Proxy haben in webpack.config.js
devServer: {
historyApiFallback:true,
proxy:{
"/api/user":"http://localhost:5001"
}
}
Datei