Closed Marc-Ducret closed 2 years ago
Hello @kitlangton, Do you think this feature would fit zio-app? Otherwise, we will probably have to fork and publish ourselves as this is something that we really need. Thanks!
Ah, yes! This seems totally fine. Apologies for the delay, I just missed this PR. Eventually, I'll likely add the ability to hit a completely separate host as well. But yeah, let's merge :)
Thanks a lot!
Here are the changes required for having the ability to host a zio-app behind a reverse proxy on a specific path. For example
https://host.com/path/
wherehttps://host.com/other/
would be a different application on a different server.Only the changes for the
zio-app
library are included : a fully functional solution also requires modifying thevite.config.js
in the g8 template.