Improve network reliability.

This commit is contained in:
Greyson Parrelli 2024-04-18 15:40:51 -04:00
parent 15d8a698c5
commit d74260b536

View file

@ -69,7 +69,6 @@ open class SignalServiceNetworkAccess(context: Context) {
private const val COUNTRY_CODE_IRAN = 98
private const val COUNTRY_CODE_CUBA = 53
private const val COUNTRY_CODE_UZBEKISTAN = 998
private const val COUNTRY_CODE_UKRAINE = 380
private const val G_HOST = "reflector-nrgwuv7kwq-uc.a.run.app"
private const val F_SERVICE_HOST = "chat-signal.global.ssl.fastly.net"
@ -210,9 +209,6 @@ open class SignalServiceNetworkAccess(context: Context) {
COUNTRY_CODE_UZBEKISTAN to buildGConfiguration(
listOf(HostConfig("https://www.google.co.uz", G_HOST, GMAIL_CONNECTION_SPEC)) + baseGHostConfigs
),
COUNTRY_CODE_UKRAINE to buildGConfiguration(
listOf(HostConfig("https://www.google.com.ua", G_HOST, GMAIL_CONNECTION_SPEC)) + baseGHostConfigs
),
COUNTRY_CODE_IRAN to fConfig,
COUNTRY_CODE_CUBA to fConfig
)