mirror of
https://github.com/coder/code-server.git
synced 2025-09-18 18:57:50 +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 /).