aboutsummaryrefslogtreecommitdiff
path: root/status.go
diff options
context:
space:
mode:
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) {