@ -2,12 +2,10 @@ const { createProxyMiddleware } = require('http-proxy-middleware');
module.exports = function (app) {
app.use(
'/api',
'/api/v2',
createProxyMiddleware({
target: 'http://localhost:8090',
pathRewrite: {
changeOrigin: true
'^/api': ''
}
})
);
};