chore(server): change default host binding to 0.0.0.0

Update the default host from localhost to 0.0.0.0 to allow the server
to accept connections from external interfaces when no HOST
environment variable is provided.
This commit is contained in:
Tomas Dvorak
2026-05-13 15:54:20 +02:00
parent bcc967f7d7
commit ed7f136eb8
+1 -1
View File
@@ -369,7 +369,7 @@ func main() {
host := os.Getenv("HOST") host := os.Getenv("HOST")
if host == "" { if host == "" {
host = "localhost" host = "0.0.0.0"
} }
port := os.Getenv("PORT") port := os.Getenv("PORT")
if port == "" { if port == "" {