Merge pull request #247 from max-stytch/fix/use-https-protocol
fix: Use same protocol for proxy server URL
This commit is contained in:
@@ -6,7 +6,7 @@ export const getMCPProxyAddress = (config: InspectorConfig): string => {
|
||||
if (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 => {
|
||||
|
||||
Reference in New Issue
Block a user