Fix yarn watch:app:minishift
const proxy = require('http-proxy-middleware');
module.exports = function(app) {
+ if (app.BACKEND) {
app.use(
proxy('/api', {
target: process.env.BACKEND,
@@ -15,4 +16,5 @@ module.exports = function(app) {
},
})
);
+ }
};
