From ea5198a5b927ab4f59b0c51ef9e9cadd1679cb90 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Wed, 11 Sep 2024 21:01:06 +1000 Subject: [PATCH] bugfix --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)