Skip to content

Commit

Permalink
Omit proxy path prefix from socket.io base path (#13054)
Browse files Browse the repository at this point in the history
Signed-off-by: Beniamino Ventura <[email protected]>
  • Loading branch information
bvenreply authored and vince-fugnitto committed Nov 7, 2023
1 parent 0ccf06b commit df48285
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export class WebSocketConnectionProvider extends AbstractConnectionProvider<WebS
protected createWebSocketUrl(path: string): string {
// Since we are using Socket.io, the path should look like the following:
// proto://domain.com/{path}
return this.createEndpoint(path).getWebSocketUrl().toString();
return this.createEndpoint(path).getWebSocketUrl().withPath(path).toString();
}

protected createHttpWebSocketUrl(path: string): string {
Expand Down

0 comments on commit df48285

Please sign in to comment.