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