diff --git a/lib/utils/http.js b/lib/utils/http.js index 081dc76..a1a5e02 100644 --- a/lib/utils/http.js +++ b/lib/utils/http.js @@ -166,7 +166,7 @@ function getUrl(params) { if (params.baseUrl) return `${params.baseUrl}${params.path}`; return `${config.livesIn === "GCP" ? conf.cloudRunUrl || conf.url : conf.url}${params.path}`; } - const proxyUrl = config.livesIn === "GCP" ? config.awsProxyUrl : config.proxyUrl; + const proxyUrl = config.livesIn === "GCP" ? config.awsProxyUrl || config.proxyUrl : config.proxyUrl; return `${params.baseUrl || proxyUrl}${params.path}`; }