mirror of
https://github.com/coder/code-server.git
synced 2025-07-28 12:33:43 +08:00

When using `window.location.origin` to create a new URL for loading web packages, it constructs a URL that is not relative, leading to the terminal breaking when code-server is served not via the root (i.e. /ide instead of /).