Bug on Format date
This commit is contained in:
@@ -76,6 +76,10 @@ func (p *PeerCache) LaunchPeerExecution(peerID string, isMySelf bool, dataID str
|
||||
url = strings.ReplaceAll(url, "localhost", dt.API())
|
||||
url = strings.ReplaceAll(url, "127.0.0.1", dt.API())
|
||||
r := regexp.MustCompile("(:[0-9]+)")
|
||||
ttt := r.FindAllString(url, -1)
|
||||
for _, t := range ttt {
|
||||
url = strings.Replace(url, t, ":8080", -1)
|
||||
}
|
||||
r.ReplaceAllString(url, ":8080")
|
||||
}
|
||||
fmt.Println("LaunchPeerExecution AFT", url, dt.API())
|
||||
|
Reference in New Issue
Block a user