Update readme

This commit is contained in:
Pulkit Sharma
2025-04-01 19:46:55 +05:30
parent 51c7eda6a6
commit 0dcd10c1dd
2 changed files with 2 additions and 2 deletions

View File

@@ -233,14 +233,13 @@ export function useConnection({
},
);
const mcpProxyServerUrl = new URL(`${proxyServerUrl}/sse`);
try {
await checkProxyHealth();
} catch {
setConnectionStatus("error-connecting-to-proxy");
return;
}
const mcpProxyServerUrl = new URL(`${proxyServerUrl}/sse`);
mcpProxyServerUrl.searchParams.append("transportType", transportType);
if (transportType === "stdio") {
mcpProxyServerUrl.searchParams.append("command", command);