Skip to content

Commit a414033

Browse files
committed
fix: Use same protocol for proxy server URL
1 parent ce1a9d3 commit a414033

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/utils/configUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const getMCPProxyAddress = (config: InspectorConfig): string => {
66
if (proxyFullAddress) {
77
return proxyFullAddress;
88
}
9-
return `http://${window.location.hostname}:${DEFAULT_MCP_PROXY_LISTEN_PORT}`;
9+
return `${window.location.protocol}//${window.location.hostname}:${DEFAULT_MCP_PROXY_LISTEN_PORT}`;
1010
};
1111

1212
export const getMCPServerRequestTimeout = (config: InspectorConfig): number => {

0 commit comments

Comments
 (0)