summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2020-07-16 14:58:17 +0200
committerAndrej Mihajlov <and@mullvad.net>2020-07-22 18:35:43 +0300
commit1792f4df4346cba8affeb8c5a0da84633d9ab702 (patch)
treec254aafe145606ffe16643d4bb92adf2b5c7357d
parent4a1e1de3891d741566d4ef1f93a176fb0aeec650 (diff)
downloadmullvadvpn-1792f4df4346cba8affeb8c5a0da84633d9ab702.tar.xz
mullvadvpn-1792f4df4346cba8affeb8c5a0da84633d9ab702.zip
Bundle new REST API relays with the app
-rwxr-xr-xios/update-relays.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/ios/update-relays.sh b/ios/update-relays.sh
index 3935abe583..efb0a8a65c 100755
--- a/ios/update-relays.sh
+++ b/ios/update-relays.sh
@@ -14,7 +14,5 @@ fi
if [ ! -f "$RELAYS_FILE" ]; then
echo "Download relays file"
- curl https://api.mullvad.net/rpc/ \
- -d '{"jsonrpc": "2.0", "id": "0", "method": "relay_list_v3"}' \
- --header "Content-Type: application/json" | jq -c .result > "$RELAYS_FILE"
+ curl https://api.mullvad.net/app/v1/relays -s -o "$RELAYS_FILE"
fi