From d2b0b8ca5aa2ab8dcb429031cd89416aa30a51a0 Mon Sep 17 00:00:00 2001 From: Liujian <824010343@qq.com> Date: Wed, 31 Mar 2021 11:28:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8E=A7=E5=88=B6=E5=8F=B0?= =?UTF-8?q?=E7=AB=AF=E5=8F=A3=E5=8F=B7=E5=86=99=E6=AD=BB=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/console/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/console/server.go b/app/console/server.go index 375413c2..706513f6 100644 --- a/app/console/server.go +++ b/app/console/server.go @@ -29,7 +29,7 @@ func Server() { go func() { log.Print("Listen: ", port) log.Print("Start Successfully!") - err := http.ListenAndServe(":7000", router()) + err := http.ListenAndServe(":" + port, router()) ec <- err }() -- GitLab