Update public_routes.go, tapRunner.go, and proxy.go

This commit is contained in:
RamiBerm
2021-07-11 14:01:07 +03:00
parent 65ba0952b4
commit 3db6d5a5ea
3 changed files with 13 additions and 5 deletions

View File

@@ -28,8 +28,7 @@ func StartProxy(kubernetesProvider *Provider, mizuPort uint16, mizuNamespace str
mux.Handle(k8sProxyApiPrefix, proxyHandler)
//work around to make static resources available to the dashboard (all .svgs will not load without this)
mux.Handle("/static/", getRerouteHttpHandler(proxyHandler, mizuProxiedUrl))
//l, err := server.Listen("127.0.0.1", int(mizuPort))
l, err := net.Listen("tcp", fmt.Sprintf("%s:%d", "127.0.0.1", int(mizuPort)))
if err != nil {
return err