Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Always default to proxyUrl if awsProxyUrl isn't set (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
BN-CRehn authored Sep 28, 2023
1 parent e68d008 commit 34a933d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
}

Expand Down

0 comments on commit 34a933d

Please sign in to comment.