fix: Use same protocol for proxy server URL
This commit is contained in:
parent
ce1a9d3905
commit
a414033354
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ export const getMCPProxyAddress = (config: InspectorConfig): string => {
|
||||||
if (proxyFullAddress) {
|
if (proxyFullAddress) {
|
||||||
return proxyFullAddress;
|
return proxyFullAddress;
|
||||||
}
|
}
|
||||||
return `http://${window.location.hostname}:${DEFAULT_MCP_PROXY_LISTEN_PORT}`;
|
return `${window.location.protocol}//${window.location.hostname}:${DEFAULT_MCP_PROXY_LISTEN_PORT}`;
|
||||||
};
|
};
|
||||||
|
|
||||||
export const getMCPServerRequestTimeout = (config: InspectorConfig): number => {
|
export const getMCPServerRequestTimeout = (config: InspectorConfig): number => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue