Skip to content

Commit

Permalink
fix: add overlay to api service so it shows earlier in the api request (
Browse files Browse the repository at this point in the history
  • Loading branch information
martinconic authored Oct 4, 2024
1 parent 47e1f98 commit 88ba195
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,8 @@ func NewBee(
apiService.MountTechnicalDebug()
apiService.SetProbe(probe)

apiService.SetSwarmAddress(&swarmAddress)

apiServer := &http.Server{
IdleTimeout: 30 * time.Second,
ReadHeaderTimeout: 3 * time.Second,
Expand Down Expand Up @@ -1151,7 +1153,6 @@ func NewBee(
apiService.MountDebug()
apiService.MountAPI()

apiService.SetSwarmAddress(&swarmAddress)
apiService.SetRedistributionAgent(agent)
}

Expand Down

0 comments on commit 88ba195

Please sign in to comment.