Change var to let

This commit is contained in:
Sebastian Ko 2025-06-25 00:45:03 -04:00 • committed by GitHub
commit 7dc7b09cd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,7 +5,7 @@ import {
} from "@/lib/constants";
export const getMCPProxyAddress = (config: InspectorConfig): string => {
var proxyFullAddress = config.MCP_PROXY_FULL_ADDRESS.value as string;
let proxyFullAddress = config.MCP_PROXY_FULL_ADDRESS.value as string;
if (proxyFullAddress) {
proxyFullAddress = proxyFullAddress.replace(/\/+$/, "");
return proxyFullAddress;