Code-server proxy and properly setting up hugo server

I am using code-sever to give me a development environment everywhere. I can actually run the hugo server through this but it passes through a proxy tunnel in order to work in the code server environment. So for instance, when I kick it off a server code-server puts it at:

So if in my baseURL setting I put, it puts all the files at:, yet all my links work properly by pointing to but there are no pages there (i.e. 404 error) because they are actually at /proxy/1313/proxy/1313/

I’m sure this is a unique issue with using this with code-server, but didn’t know if anyone has a trick to putting in the right baseURL setting or some options I’m missing that might address my need. Thanks in advance.