File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ export class Inbox implements vscode.Disposable {
3333
3434 const baseUrl = new URL ( baseUrlRaw )
3535 const socketProto = baseUrl . protocol === "https:" ? "wss:" : "ws:"
36- const socketUrlRaw = `${ socketProto } //${ baseUrl . host } /api/v2/notifications/inbox/watch?templates=${ watchTemplatesParam } &targets=${ watchTargetsParam } `
36+ const socketUrl = `${ socketProto } //${ baseUrl . host } /api/v2/notifications/inbox/watch?templates=${ watchTemplatesParam } &targets=${ watchTargetsParam } `
3737
3838 const coderSessionTokenHeader = "Coder-Session-Token"
39- this . socket = new WebSocket ( new URL ( socketUrlRaw ) , {
39+ this . socket = new WebSocket ( new URL ( socketUrl ) , {
4040 followRedirects : true ,
4141 agent : httpAgent ,
4242 headers : {
You can’t perform that action at this time.
0 commit comments