From 4760796915085698ee840c35fb63271f52f6fd66 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Fri, 17 May 2019 12:42:16 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E7=9B=91=E5=90=AC=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.go b/main.go index 81a59ab..362c167 100644 --- a/main.go +++ b/main.go @@ -162,8 +162,7 @@ func main() { logger.Infof("Wide is running [%s]", conf.Wide.Server) - listen := conf.Wide.Server[strings.Index(conf.Wide.Server, "://")+3:] - err := http.ListenAndServe(listen, nil) + err := http.ListenAndServe("127.0.0.1:7070", nil) if err != nil { logger.Error(err) }