mirror of
https://github.com/coder/coder.git
synced 2026-09-22 21:22:17 +08:00
wsproxy also needs to be updated to use tailnet v2 because the `tailnet.Conn` stores peers by ID, and the peerID was not being carried by the JSON protocol. This adds a query param to the endpoint to conditionally switch to the new protocol.