mirror of
https://github.com/coder/code-server.git
synced 2025-08-02 14:02:51 +08:00

Extracted host detection into a separate function to avoid multiple log lines on each return and went with a thrown error to consolidate the common log text.