From c61ce27d109fa85dfbd1174013ec2f6acfc57095 Mon Sep 17 00:00:00 2001 From: Dipun Mistry Date: Sun, 4 Sep 2022 22:18:53 +0100 Subject: [PATCH] bug. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 95806e9..fa18222 100644 --- a/main.go +++ b/main.go @@ -41,7 +41,7 @@ func main() { mux.HandleFunc("/cb", lnurlw_callback) port := os.Getenv("HOST_PORT") - if len(value) == 0 { + if len(port) == 0 { port := "9000" }