You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
@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 ...
@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.
A nice to have feature would be to be able to reverse proxy a fixed route in the dev server.
ie:
/api
points tohttp://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.
The text was updated successfully, but these errors were encountered: