Skip to content

Commit

Permalink
Add /api to websocket url
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-battaglia committed Oct 19, 2023
1 parent cb5ca46 commit 223a581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion angular-frontend/src/http.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ export class HttpService {

getWebSocket(credentials: Credentials): WebSocket {
console.log("Create web socket to: '" + this.host + "'");
return new WebSocket(`${this.protocol}://${credentials.username}:${credentials.passcode}@${this.host}/connect`);
return new WebSocket(`${this.protocol}://${credentials.username}:${credentials.passcode}@${this.host}/api/connect`);
}
}

0 comments on commit 223a581

Please sign in to comment.