Remove unnecessary comment
This commit is contained in:
parent
0838ffde38
commit
7bf363cca9
1 changed files with 0 additions and 1 deletions
|
|
@ -15,7 +15,6 @@ export type TransportOptions = {
|
|||
|
||||
function createSSETransport(options: TransportOptions): Transport {
|
||||
const baseUrl = new URL(options.url ?? "");
|
||||
// Create new URL while preserving the port from baseUrl
|
||||
const sseUrl = new URL("/sse", baseUrl);
|
||||
if (baseUrl.port) {
|
||||
sseUrl.port = baseUrl.port;
|
||||
|
|
|
|||
Loading…
Reference in a new issue