diff --git a/src/setupProxy.js b/src/setupProxy.js index 982babe..4d89d27 100644 --- a/src/setupProxy.js +++ b/src/setupProxy.js @@ -4,11 +4,8 @@ module.exports = function (app) { app.use( '/api', createProxyMiddleware({ - target: 'http://localhost:8090', changeOrigin: true, - pathRewrite: { - '^/api': '' - } + target: 'http://localhost:8090' }) ); };