Skip to content

Commit

Permalink
Update external gateway URL by option (rerun)
Browse files Browse the repository at this point in the history
Add config gateway url by default and overwrite generate url when exist.
(rerun)
  • Loading branch information
pbaezab authored and edvald committed Apr 4, 2020
1 parent da4b155 commit 47344fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion garden-service/src/plugins/openfaas/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,5 @@ function getExternalGatewayUrl(provider: OpenFaasProvider) {
const k8sProvider = getK8sProvider(provider.dependencies)
const hostname = provider.config.hostname
const ingressPort = k8sProvider.config.ingressHttpPort
return `http://${hostname}:${ingressPort}`
return provider.config.gatewayUrl || `http://${hostname}:${ingressPort}`
}

0 comments on commit 47344fa

Please sign in to comment.