Skip to content

Commit dd6f528

Browse files
committed
Fix to the Authorization header bug for Streamable-HTTP
Reference issue [#369]
1 parent cfe82c8 commit dd6f528

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/src/lib/hooks/useConnection.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ export function useConnection({
335335
transportType === "streamable-http"
336336
? new StreamableHTTPClientTransport(mcpProxyServerUrl as URL, {
337337
sessionId: undefined,
338+
...transportOptions,
338339
})
339340
: new SSEClientTransport(mcpProxyServerUrl as URL, transportOptions);
340341

0 commit comments

Comments
 (0)