diff --git a/controllers/config/dnsconfig/netmaker.hosts b/controllers/config/dnsconfig/netmaker.hosts index 45eab425..a4bce696 100644 --- a/controllers/config/dnsconfig/netmaker.hosts +++ b/controllers/config/dnsconfig/netmaker.hosts @@ -1 +1,2 @@ +10.0.0.3 testnode3.skynet 10.0.0.2 testnode.skynet myhost.skynet diff --git a/netclient/gui/components/views/join.go b/netclient/gui/components/views/join.go index acd3fba3..f34c1270 100644 --- a/netclient/gui/components/views/join.go +++ b/netclient/gui/components/views/join.go @@ -29,9 +29,9 @@ func GetJoinView() fyne.CanvasObject { cfg.Network = accesstoken.ClientConfig.Network cfg.Node.Network = accesstoken.ClientConfig.Network cfg.Node.Name = ncutils.GetHostname() - cfg.Server.AccessKey = accesstoken.ClientConfig.Key + cfg.AccessKey = accesstoken.ClientConfig.Key cfg.Node.LocalRange = accesstoken.ClientConfig.LocalRange - cfg.Server.API = accesstoken.ServerConfig.APIConnString + cfg.Server.API = accesstoken.APIConnString err = functions.JoinNetwork(&cfg, "") if err != nil { ErrorNotify("Failed to join " + cfg.Network + "!")