Skip to content

Commit 24e1aae

Browse files
committed
Remove unnecessary explicit port setting
1 parent f641aa0 commit 24e1aae

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cli/src/transport.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ export type TransportOptions = {
1616
function createSSETransport(options: TransportOptions): Transport {
1717
const baseUrl = new URL(options.url ?? "");
1818
const sseUrl = new URL("/sse", baseUrl);
19-
if (baseUrl.port) {
20-
sseUrl.port = baseUrl.port;
21-
}
2219

2320
return new SSEClientTransport(sseUrl);
2421
}

0 commit comments

Comments
 (0)