mirror of
https://github.com/coder/code-server.git
synced 2025-07-25 10:53:24 +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.