diff --git a/main.go b/main.go index eab5099..85cd921 100644 --- a/main.go +++ b/main.go @@ -195,7 +195,7 @@ func main() { } if *profile > 0 { - go http.ListenAndServe("0.0.0.0:"+strconv.Itoa(8080), nil) + go http.ListenAndServe("0.0.0.0:"+strconv.Itoa(*profile), nil) } for {