Skip to content

Commit f5b909f

Browse files
committed
fix(ws): use relative path
1 parent 361483a commit f5b909f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/Shared/Services/NotificationChannel.service.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export class NotificationChannel {
8181

8282
const url = new URL(window.location.href);
8383
url.protocol = url.protocol.replace('http', 'ws');
84-
url.pathname = '/api/notifications';
84+
url.pathname = 'api/notifications';
8585
this.ws = webSocket({
8686
url: url.toString(),
8787
protocol: '',

0 commit comments

Comments
 (0)