mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-23 18:15:26 +00:00
disable online map by default for now
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
78268d78a0
commit
a1a3ff4ba8
@ -535,10 +535,10 @@ func (m *Mapper) baseMapResponse(machine *types.Machine) tailcfg.MapResponse {
|
|||||||
ControlTime: &now,
|
ControlTime: &now,
|
||||||
}
|
}
|
||||||
|
|
||||||
online, err := m.db.ListOnlineMachines(machine)
|
// online, err := m.db.ListOnlineMachines(machine)
|
||||||
if err == nil {
|
// if err == nil {
|
||||||
resp.OnlineChange = online
|
// resp.OnlineChange = online
|
||||||
}
|
// }
|
||||||
|
|
||||||
return resp
|
return resp
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user