mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-30 02:43:05 +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
1 changed files with 4 additions and 4 deletions
|
@ -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 a new issue