diff --git a/src/frontend/main.go b/src/frontend/main.go index a9f4f90..a266139 100644 --- a/src/frontend/main.go +++ b/src/frontend/main.go @@ -20,6 +20,7 @@ import ( const ( port = "8080" + secondaryPort = "8090" // TODO(ahmetb) remove this, currently used by health checks in Istio mTLS case. defaultCurrency = "USD" cookieMaxAge = 60 * 60 * 48 @@ -107,6 +108,7 @@ func main() { Propagation: &b3.HTTPFormat{}} log.Infof("starting server on " + addr + ":" + srvPort) + go log.Fatal(http.ListenAndServe(addr+":"+secondaryPort, handler)) log.Fatal(http.ListenAndServe(addr+":"+srvPort, handler)) }