chore(example): fix listener usage in app example (#224)
This commit is contained in:
parent
b5da6ec29b
commit
01021e71a0
1 changed files with 1 additions and 1 deletions
|
@ -93,5 +93,5 @@ func main() {
|
|||
|
||||
lis := fmt.Sprintf("127.0.0.1:%s", port)
|
||||
logrus.Infof("listening on http://%s/", lis)
|
||||
logrus.Fatal(http.ListenAndServe("127.0.0.1:"+port, nil))
|
||||
logrus.Fatal(http.ListenAndServe(lis, nil))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue