Skip to content

Commit

Permalink
fix(ws): use relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Jan 23, 2024
1 parent 361483a commit af88cbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/Shared/Services/NotificationChannel.service.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class NotificationChannel {

const url = new URL(window.location.href);
url.protocol = url.protocol.replace('http', 'ws');
url.pathname = '/api/notifications';
url.pathname += './api/notifications';
this.ws = webSocket({
url: url.toString(),
protocol: '',
Expand Down

0 comments on commit af88cbf

Please sign in to comment.