Using gulp I have:
browserSync.init({
proxy: "localhost:8080",
open: false
});
this allows me to go to http://localhost:3000 and the request goes to the backend on port 8080.
Now my app is split into two backends, so I have part of my app on port 8080 and the other part on port 1212
how can I tell browsersync to proxy http://localhost:3000/module1
to port 1212 and anything else http://localhost:3000/* to port 8080 ?
Thanks