summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2023-01-01 21:12:01 +0100
committercyBerta <cyberta@riseup.net>2023-01-02 03:54:18 +0100
commitdc84c01adb7244bcf24d56db5eb73d2ce22970fb (patch)
tree1f16c626f65ba822bbe2525b376075d628eb0d06
parent6128136ddf9bb3626104c739db65e9e005211116 (diff)
remove hard-coded IP's for riseup api for now, switch menshen URL
-rw-r--r--app/build.gradle6
-rw-r--r--app/src/normal/assets/urls/riseup.net.url4
2 files changed, 4 insertions, 6 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 92120f88..a216b041 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -131,12 +131,12 @@ android {
def customProviderUrl = '"https://black.riseup.net"'
buildConfigField "String", "customProviderUrl", customProviderUrl
//static ip address of provider, using a commercially validated CA certificate to serve the provider.json
- def customProviderIp = '"198.252.153.70"'
+ def customProviderIp = '""'
buildConfigField "String", "customProviderIp", customProviderIp
//static ip address of the provider api, using a self signed certificate to serve provider.json, eip-service.json etc.
- def customProviderApiIp = '"198.252.153.107"'
+ def customProviderApiIp = '""'
buildConfigField "String", "customProviderApiIp", customProviderApiIp
- def geoipUrl = '"https://api.black.riseup.net:9001/json"'
+ def geoipUrl = '"https://menshen.riseup.net/json"'
buildConfigField "String", "geoipUrl", geoipUrl
//URL for the message of the day, see https://0xacab.org/leap/motd#motd-message-of-the-day
def customProviderMotdUrl = '"https://static.riseup.net/vpn/motd.json"'
diff --git a/app/src/normal/assets/urls/riseup.net.url b/app/src/normal/assets/urls/riseup.net.url
index ad24ee99..474580da 100644
--- a/app/src/normal/assets/urls/riseup.net.url
+++ b/app/src/normal/assets/urls/riseup.net.url
@@ -1,7 +1,5 @@
{
"main_url" : "https://black.riseup.net",
- "provider_ip" : "198.252.153.70",
- "provider_api_ip" : "198.252.153.107",
- "geoip_url" : "https://api.black.riseup.net:9001/json",
+ "geoip_url" : "https://menshen.riseup.net/json",
"motd_url": "https://static.riseup.net/vpn/motd.json"
}