mirror of
https://github.com/coder/code-server.git
synced 2026-11-20 09:37:54 +08:00
The base path of /proxy/<port> requests was computed by splitting the request path on path.sep, which is a backslash on Windows, so the whole path became the base. Requests were proxied to / on the target port and redirects were rewritten against the wrong base. URL paths always use /.