Skip to content

Commit

Permalink
fix: [gnoweb] fix unset binding (#1446)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfanton authored Dec 16, 2023
1 parent 9262c1a commit ad9d30f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gno.land/cmd/gnoweb/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ func main() {
logger := log.NewTMLogger(os.Stdout)
logger.SetLevel(log.LevelDebug)

logger.Debug("", "Running", "http://"+cfg.BindAddr)
logger.Info("Running", "listener", "http://"+bindAddress)
server := &http.Server{
Addr: cfg.BindAddr,
Addr: bindAddress,
ReadHeaderTimeout: 60 * time.Second,
Handler: gnoweb.MakeApp(logger, cfg).Router,
}
Expand Down
2 changes: 0 additions & 2 deletions gno.land/pkg/gnoweb/gnoweb.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ type Config struct {
HelpChainID string
HelpRemote string
WithAnalytics bool

BindAddr string
}

func NewDefaultConfig() Config {
Expand Down

0 comments on commit ad9d30f

Please sign in to comment.