Booking trace API
This commit is contained in:
parent
950bbf1d7b
commit
39030a0a80
@ -42,7 +42,7 @@ func (p *PeerCache) checkPeerStatus(peerID string, caller *tools.HTTPCaller) boo
|
||||
url := res.(*Peer).Url
|
||||
if strings.Contains(url, "localhost") || strings.Contains(url, "127.0.0.1") {
|
||||
url = strings.ReplaceAll(url, "localhost", utils.PEER.API())
|
||||
|
||||
url = strings.ReplaceAll(url, "127.0.0.1", utils.PEER.API())
|
||||
}
|
||||
methods := caller.URLS[utils.PEER.String()]
|
||||
if methods == nil {
|
||||
|
Loading…
Reference in New Issue
Block a user