change network resolver http to localhost:8080

This commit is contained in:
Asim Aslam 2020-07-26 11:21:57 +01:00
parent fbdf1f2c1c
commit 5f4491bb86

View File

@ -29,8 +29,8 @@ type Response struct {
// Resolve assumes ID is a domain which can be converted to a http://name/network request
func (r *Resolver) Resolve(name string) ([]*resolver.Record, error) {
proto := "https"
host := "go.micro.mu"
proto := "http"
host := "localhost:8080"
path := "/network/nodes"
if len(r.Proto) > 0 {