Code-server, port forwarding, absolute pathing

I have code-server hosted on my domain under [domian.com]/vscode/jgantts/. The port forwarding proxy is therefore [domain.com]/vscode/jgantts/proxy/[portNumber]/

I'm having trouble getting the application I'm developing to work properly using the forwarded port. All of the absolute paths are wrong

A possible solution involving my setup with vite, is to set the vite base path in its config file. However, I believe the port can change? If so, the base path would need to change as well

Could someone confirm that my reasoning is correct? I'm not married to vite, but it is quite convenient
Was this page helpful?