mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-24 15:24:17 +00:00
🐛 Fix GetHubUrl
method
This commit is contained in:
parent
d82df9d670
commit
19723debb2
@ -73,7 +73,7 @@ func GetProxyOnPort(port uint16) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func GetHubUrl() string {
|
func GetHubUrl() string {
|
||||||
return fmt.Sprintf("%s/api", GetProxyOnPort(config.Config.Tap.Proxy.Hub.Port))
|
return fmt.Sprintf("%s/api", GetProxyOnPort(config.Config.Tap.Proxy.Front.Port))
|
||||||
}
|
}
|
||||||
|
|
||||||
func getRerouteHttpHandlerSelfAPI(proxyHandler http.Handler, selfNamespace string, selfServiceName string) http.Handler {
|
func getRerouteHttpHandlerSelfAPI(proxyHandler http.Handler, selfNamespace string, selfServiceName string) http.Handler {
|
||||||
|
Loading…
Reference in New Issue
Block a user