aboutsummaryrefslogtreecommitdiff
path: root/status.go
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2025-01-21 21:38:07 -0800
committerCaroline Larimore <caroline@larimo.re>2025-01-21 21:38:07 -0800
commit3f0e21c5e3696cf732deeb3ea9cee782ed87fa74 (patch)
treec5893170c8c80d8122a354f5f6bd827f5796ecff /status.go
parent8772226e2e7a2b7d6fcd862ec5e14b4efb77ab39 (diff)
Fix hardcoded port
Diffstat (limited to 'status.go')
-rw-r--r--status.go2
1 files changed, 1 insertions, 1 deletions
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) {