diff --git a/main.go b/main.go index 154c1ef..9c47ade 100644 --- a/main.go +++ b/main.go @@ -201,7 +201,7 @@ func main() { // Determine bind port bindPort := os.Getenv("BIND_PORT") if bindPort == "" { - bindIP = "8443" + bindPort = "8443" } bindAddress := fmt.Sprint(bindIP, ":", bindPort) log.Printf("Will listen on address 'https://%s'\n", bindAddress)