set network nodes in http resolver

This commit is contained in:
Asim Aslam 2020-04-18 21:00:00 +01:00
parent 16db76bee2
commit ecbc42755c

View File

@ -31,7 +31,7 @@ type Response struct {
func (r *Resolver) Resolve(name string) ([]*resolver.Record, error) {
proto := "https"
host := "api.micro.mu"
path := "/network"
path := "/network/nodes"
if len(r.Proto) > 0 {
proto = r.Proto