🎨 监听端口
This commit is contained in:
parent
58de20eb86
commit
4760796915
3
main.go
3
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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue