summaryrefslogtreecommitdiff
path: root/pkg/vpn/bonafide/bonafide.go
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-08-19 18:21:37 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-08-20 20:27:48 +0200
commit30587fb27b73fdb3f0aab1a78844edcaaae1c3bb (patch)
tree1669a7735428c9cfa074a8095e9a7e4c6b6ec366 /pkg/vpn/bonafide/bonafide.go
parent9882dfc474e410b5745388ca7d1bbc873be836b3 (diff)
[feat] pick only the top 3 gateways
fixes bug: do not initialize an empty list of gateways
Diffstat (limited to 'pkg/vpn/bonafide/bonafide.go')
-rw-r--r--pkg/vpn/bonafide/bonafide.go2
1 files changed, 1 insertions, 1 deletions
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 {