From 30587fb27b73fdb3f0aab1a78844edcaaae1c3bb Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Wed, 19 Aug 2020 18:21:37 +0200 Subject: [feat] pick only the top 3 gateways fixes bug: do not initialize an empty list of gateways --- pkg/vpn/bonafide/bonafide.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/vpn/bonafide/bonafide.go') diff --git a/pkg/vpn/bonafide/bonafide.go b/pkg/vpn/bonafide/bonafide.go index 9963448..9916b55 100644 --- a/pkg/vpn/bonafide/bonafide.go +++ b/pkg/vpn/bonafide/bonafide.go @@ -232,7 +232,7 @@ func (b *Bonafide) GetOpenvpnArgs() ([]string, error) { } func (b *Bonafide) fetchGeolocation() ([]string, error) { - /* FIXME in float deployments, geolocation is served on gemyip.domain/json, with a LE certificate. + /* FIXME in float deployments, geolocation is served on gemyip.domain/json, with a LE certificate, but in riseup is served behind the api certificate. So this is a workaround until we streamline that behavior */ resp, err := b.client.Post(config.GeolocationAPI, "", nil) if err != nil { -- cgit v1.2.3