mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-29 18:33:05 +00:00
Upgrade path as const
This commit is contained in:
parent
841f811f35
commit
1df64acbac
1 changed files with 3 additions and 0 deletions
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 a new issue