Skip to content

Commit

Permalink
fix url api
Browse files Browse the repository at this point in the history
  • Loading branch information
p4gefau1t committed Jul 14, 2020
1 parent a0d783b commit 63676f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions url/option.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ func (u *url) Handle() error {
}
listenPort = int(lp)
case "api":
apiEnabled = true
h, p, err := net.SplitHostPort(val)
if err != nil {
log.Fatal(err)
Expand Down

0 comments on commit 63676f4

Please sign in to comment.