const proxy = require("http-proxy-middleware");
module.exports = function(app) {
app.use(
proxy("/api", {
target: "http://xxxxxxx:4000",
changeOrigin: true
})
);
app.use(
proxy("/v1", {
target: "http://xxxxx:5000",
changeOrigin: true
})
);
};