From 3f0e21c5e3696cf732deeb3ea9cee782ed87fa74 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Tue, 21 Jan 2025 21:38:07 -0800 Subject: Fix hardcoded port --- status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/status.go b/status.go index c06c877..92561ce 100644 --- a/status.go +++ b/status.go @@ -83,7 +83,7 @@ func main() { deny(w) }) - log.Fatal(http.ListenAndServe(":8080", nil)) + log.Fatal(http.ListenAndServe(":"+os.Args[1], nil)) } func deny(w http.ResponseWriter) { -- cgit v1.2.3