From 9973f163f9d4a170102d114626be4973db3b0a0d Mon Sep 17 00:00:00 2001 From: eleutherifer Date: Sun, 15 Nov 2026 15:53:26 +0300 Subject: [PATCH] Changing the Cloudflare API IP address --- app/src/main/java/io/nekohasekai/sagernet/ui/warp/WarpClient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/nekohasekai/sagernet/ui/warp/WarpClient.kt b/app/src/main/java/io/nekohasekai/sagernet/ui/warp/WarpClient.kt index d5422a89..98011eb2 100644 --- a/app/src/main/java/io/nekohasekai/sagernet/ui/warp/WarpClient.kt +++ b/app/src/main/java/io/nekohasekai/sagernet/ui/warp/WarpClient.kt @@ -21,7 +21,7 @@ object WarpClient { const val TUNNEL_MASQUE = "masque" /** The warp_mode that runs the WireGuard identity as AmneziaWG; it registers as [TUNNEL_WIREGUARD]. */ const val MODE_AMNEZIA = "amnezia" - const val DEFAULT_API_HOST = "api.cloudflareclient.com" + const val DEFAULT_API_HOST = "api.devices.cloudflare.com" const val TERMS_URL = "https://www.cloudflare.com/application/terms/" /** One registration of the requested tunnel type; device id, token and license are not stored (as on the desktop). */