set network nodes in http resolver
This commit is contained in:
parent
16db76bee2
commit
ecbc42755c
@ -31,7 +31,7 @@ type Response struct {
|
|||||||
func (r *Resolver) Resolve(name string) ([]*resolver.Record, error) {
|
func (r *Resolver) Resolve(name string) ([]*resolver.Record, error) {
|
||||||
proto := "https"
|
proto := "https"
|
||||||
host := "api.micro.mu"
|
host := "api.micro.mu"
|
||||||
path := "/network"
|
path := "/network/nodes"
|
||||||
|
|
||||||
if len(r.Proto) > 0 {
|
if len(r.Proto) > 0 {
|
||||||
proto = r.Proto
|
proto = r.Proto
|
||||||
|
Loading…
x
Reference in New Issue
Block a user