Skip to content

Commit 110061d

Browse files
committed
Update WebSocketService.tsx
1 parent 274326f commit 110061d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frontend/src/services/WebSocketService.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class WebSocketService {
2828
let userId = getUserId();
2929
const hasApiSegment = /\/api(\/|$)/i.test(base);
3030
const socketPath = hasApiSegment ? '/v3/socket' : '/api/v3/socket';
31-
const url = `${base}${socketPath}${processId ? `/${processId}` : `/${planId}`}&user_id=${userId || ''}`;
31+
const url = `${base}${socketPath}${processId ? `/${processId}` : `/${planId}`}?user_id=${userId || ''}`;
3232
console.log("Constructed WebSocket URL:", url);
3333
return url;
3434
}

0 commit comments

Comments
 (0)