File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -430,6 +430,14 @@ func New(options *Options) *API {
430
430
r .Get ("/pty" , api .workspaceAgentPTY )
431
431
r .Get ("/connection" , api .workspaceAgentConnection )
432
432
r .Get ("/coordinate" , api .workspaceAgentClientCoordinate )
433
+ // TODO: This can be removed in October. It allows for a friendly
434
+ // error message when transitioning from WebRTC to Tailscale. See:
435
+ // https://github.com/coder/coder/issues/4126
436
+ r .Get ("/dial" , func (w http.ResponseWriter , r * http.Request ) {
437
+ httpapi .Write (w , http .StatusGone , codersdk.Response {
438
+ Message : "Your Coder CLI is out of date, and requires v0.8.15+ to connect!" ,
439
+ })
440
+ })
433
441
})
434
442
})
435
443
r .Route ("/workspaceresources/{workspaceresource}" , func (r chi.Router ) {
You can’t perform that action at this time.
0 commit comments