better load & peear cache for traefik

This commit is contained in:
mr
2025-02-19 11:03:12 +01:00
parent 241c6a5a08
commit b4a1766677
3 changed files with 5 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ func (p *PeerCache) urlFormat(url string, dt tools.DataType) string {
url = strings.ReplaceAll(url, localhost, dt.API()+":8080/oc")
}
} else {
url = url + "/" + dt.API()
url = url + "/" + strings.ReplaceAll(dt.API(), "oc-", "")
}
return url
}