mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-20 19:09:07 +01:00
Upgrade path as const
This commit is contained in:
parent
841f811f35
commit
1df64acbac
3
noise.go
3
noise.go
@ -19,6 +19,9 @@ const (
|
||||
)
|
||||
|
||||
const (
|
||||
// ts2021UpgradePath is the path that the server listens on for the WebSockets upgrade
|
||||
ts2021UpgradePath = "/ts2021"
|
||||
|
||||
// upgradeHeader is the value of the Upgrade HTTP header used to
|
||||
// indicate the Tailscale control protocol.
|
||||
upgradeHeaderValue = "tailscale-control-protocol"
|
||||
|
Loading…
Reference in New Issue
Block a user