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 {
33
33
34
34
const baseUrl = new URL ( baseUrlRaw )
35
35
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 } `
37
37
38
38
const coderSessionTokenHeader = "Coder-Session-Token"
39
- this . socket = new WebSocket ( new URL ( socketUrlRaw ) , {
39
+ this . socket = new WebSocket ( new URL ( socketUrl ) , {
40
40
followRedirects : true ,
41
41
agent : httpAgent ,
42
42
headers : {
You can’t perform that action at this time.
0 commit comments