mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-29 13:28:03 -05:00
Use CapVer to offer Noise only to supported clients
This commit is contained in:
6
api.go
6
api.go
@@ -25,12 +25,6 @@ const (
|
||||
ErrRegisterMethodCLIDoesNotSupportExpire = Error(
|
||||
"machines registered with CLI does not support expire",
|
||||
)
|
||||
|
||||
// The CapabilityVersion is used by Tailscale clients to indicate
|
||||
// their codebase version. Tailscale clients can communicate over TS2021
|
||||
// from CapabilityVersion 28.
|
||||
// See https://github.com/tailscale/tailscale/blob/main/tailcfg/tailcfg.go
|
||||
NoiseCapabilityVersion = 28
|
||||
)
|
||||
|
||||
func (h *Headscale) HealthHandler(
|
||||
|
||||
Reference in New Issue
Block a user