Support reverse proxying a route in the dev server.
A nice to have feature would be to be able to reverse proxy a fixed route in the dev server.
ie: /api points to http://localhost:8888/api or just a bare server... if the prefix route/slice exists on both sides, it should be declared on both sides, if a trailing slash is used on either side, it should be used on both sides.
When I tend to deploy applications, they're usually sliced off via na ingress server with things like /auth or /api pointing to another resource on the ingress host... this is difficult to replicate if the dev server doesn't also allow a reverse proxy.
Nice to have would be https support for the proxied server, since one may want to target a live API when developing an application.
@tracker1: How valuable would this enhancement be for you? I'm asking as I encourage my students to work on issues which are funded via https://gitcoin.co ...
I deploy many applications via solutions like: https://spheron.network/ ... might be helpful for some developers reading this.
@michael-spengler sorry for the very delated response... TBH, I was just toying around with this, not using it for a production project... I would say the feature to be able to reverse proxy from a few routes is very important for UI development. Most of the apps I've worked on for the last several years has used route slices in order to access applicable api backends without worrying about CORS controls.