From 1df64acbac32f6849c9e03732389a7bc476fb7aa Mon Sep 17 00:00:00 2001 From: Juan Font Alonso Date: Sat, 30 Apr 2022 23:32:58 +0200 Subject: [PATCH] Upgrade path as const --- noise.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/noise.go b/noise.go index 1945fdce..2b963943 100644 --- a/noise.go +++ b/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"