Enable Android debug build and update ApiClient config URL

This commit is contained in:
2026-07-03 00:59:33 +08:00
parent 14d955951e
commit 7ebe87e276
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -15,7 +15,6 @@ jobs:
build-android-debug:
name: Build Android Debug APK
runs-on: ubuntu-latest
if: false # 暂时禁用 Android 构建
steps:
- name: Checkout repository
@@ -22,7 +22,7 @@ object ApiClient {
get() {
val url = PreferenceManager.baseURL
return if (url.isNullOrEmpty()) {
"https://vungles.com/" // Default fallback URL to prevent crash
"https://x.161777.xyz/" // Default fallback URL to prevent crash
} else {
if (!url.startsWith("http://") && !url.startsWith("https://")) {
"https://$url"
@@ -44,7 +44,7 @@ object ApiClient {
}
object ApiClientConfig {
private const val ConfigURL = "https://vungles.com/api/test/" // BASE 请求配置文件地址 见说明文档
private const val ConfigURL = "https://cg.161777.xyz/config.json" // BASE 请求配置文件地址 见说明文档
// private const val ConfigURL = "https://uuvpn.oss-cn-hongkong.aliyuncs.com/api/test/" // BASE 请求配置文件地址 见说明文档
//这个链接主要是为了配置转化,一般有的订阅地址被墙之后国内无法访问,这里就是了防止被墙,使用我们的香港服务器进行顶级域名防护
//const val ConfigNodeURL = "https://api.xxxx.com/api/parseyamlclash.php?target=clashmeta&url=" //通过香港服务器转接一次Clash转化的订阅地址