We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ff1e5ec + 1089162 commit 13014a0Copy full SHA for 13014a0
client/src/utils/configUtils.ts
@@ -14,8 +14,9 @@ const getSearchParam = (key: string): string | null => {
14
};
15
16
export const getMCPProxyAddress = (config: InspectorConfig): string => {
17
- const proxyFullAddress = config.MCP_PROXY_FULL_ADDRESS.value as string;
+ let proxyFullAddress = config.MCP_PROXY_FULL_ADDRESS.value as string;
18
if (proxyFullAddress) {
19
+ proxyFullAddress = proxyFullAddress.replace(/\/+$/, "");
20
return proxyFullAddress;
21
}
22
0 commit comments