8000 feat: add support for coder inbox by DanielleMaywood · Pull Request #444 · coder/vscode-coder · GitHub
[go: up one dir, main page]

Skip to content

feat: add support for coder inbox #444

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Mar 21, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: update websocket url
  • Loading branch information
DanielleMaywood committed Mar 17, 2025
commit 1809fb8617c7357b3739e3490e06042e56f0c85e
2 changes: 1 addition & 1 deletion src/inbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class Inbox implements vscode.Disposable {

const baseUrl = new URL(baseUrlRaw)
const socketProto = baseUrl.protocol === "https:" ? "wss:" : "ws:"
const socketUrlRaw = `${socketProto}//${baseUrl.host}/api/v2/notifications/watch`
const socketUrlRaw = `${socketProto}//${baseUrl.host}/api/v2/notifications/inbox/watch`

const coderSessionTokenHeader = "Coder-Session-Token"
this.socket = new WebSocket(new URL(socketUrlRaw), {
Expand Down
0