diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2020-07-16 14:58:17 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2020-07-22 18:35:43 +0300 |
| commit | 1792f4df4346cba8affeb8c5a0da84633d9ab702 (patch) | |
| tree | c254aafe145606ffe16643d4bb92adf2b5c7357d | |
| parent | 4a1e1de3891d741566d4ef1f93a176fb0aeec650 (diff) | |
| download | mullvadvpn-1792f4df4346cba8affeb8c5a0da84633d9ab702.tar.xz mullvadvpn-1792f4df4346cba8affeb8c5a0da84633d9ab702.zip | |
Bundle new REST API relays with the app
| -rwxr-xr-x | ios/update-relays.sh | 4 |
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 |
