From 33b164e63f19eb06102c8f3ae42c62193c459e19 Mon Sep 17 00:00:00 2001 From: esrrhs Date: Fri, 1 Nov 2019 23:22:24 +0800 Subject: [PATCH] add --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {