Skip to content

Commit e21ca44

Browse files
committed
Use export api.ipify.org to determine IP for inlets-pro
The prior site was returning an IPv6 address which was not usable for the use-case. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
1 parent 87c677b commit e21ca44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ curl -sLO https://raw.githubusercontent.com/inlets/inlets/master/hack/inlets-ope
794794
return `#!/bin/bash
795795
export AUTHTOKEN="` + authToken + `"
796796
export REMOTETCP="` + remoteTCP + `"
797-
export IP=$(curl -sfSL https://ifconfig.co)
797+
export IP=$(curl -sfSL https://api.ipify.org)
798798
curl -SLsf https://github.com/inlets/inlets-pro-pkg/releases/download/0.4.0/inlets-pro-linux > inlets-pro-linux && \
799799
chmod +x ./inlets-pro-linux && \
800800
mv ./inlets-pro-linux /usr/local/bin/inlets-pro

0 commit comments

Comments
 (0)