Skip to content

Commit

Permalink
home: web-addr opt
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizzick committed Jun 22, 2023
1 parent b234d10 commit 27652db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/home/home.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ func setupBindOpts(opts options) (err error) {

// Rewrite deprecated options.
bindAddr := opts.bindAddr
if bindAddr.IsValid() && (bindAddr != netip.AddrPort{}) {
if bindAddr.IsValid() {
config.BindHost = bindAddr.Addr()
config.BindPort = int(bindAddr.Port())

Expand Down

0 comments on commit 27652db

Please sign in to comment.