diff --git a/app/src/main/java/xyz/fycz/myreader/common/URLCONST.java b/app/src/main/java/xyz/fycz/myreader/common/URLCONST.java index bda9661..bc649f3 100644 --- a/app/src/main/java/xyz/fycz/myreader/common/URLCONST.java +++ b/app/src/main/java/xyz/fycz/myreader/common/URLCONST.java @@ -56,7 +56,8 @@ public class URLCONST { public static final String QUOTATION = "https://v1.hitokoto.cn/?encode=json&charset=utf-8"; - public static final String DEFAULT_PLUGIN_CONFIG_URL = "https://gitlab.com/fengyuecanzhu/fyreader-resource/-/raw/main/Plugin/release/config_FYReader.json"; + //public static final String DEFAULT_PLUGIN_CONFIG_URL = "https://gitlab.com/fengyuecanzhu/fyreader-resource/-/raw/main/Plugin/release/config_FYReader.json"; + public static final String DEFAULT_PLUGIN_CONFIG_URL = "http://101.43.83.105:3000/fengyue/FYReader-Res/raw/branch/main/Plugin/release/config_FYReader.json"; public static String getDefaultDomain() { return SharedPreUtils.getInstance().getString("domain", "fycz.me"); diff --git a/app/src/main/java/xyz/fycz/myreader/util/utils/OkHttpUtils.java b/app/src/main/java/xyz/fycz/myreader/util/utils/OkHttpUtils.java index 982c5c6..e484729 100644 --- a/app/src/main/java/xyz/fycz/myreader/util/utils/OkHttpUtils.java +++ b/app/src/main/java/xyz/fycz/myreader/util/utils/OkHttpUtils.java @@ -214,7 +214,9 @@ public class OkHttpUtils { } public static String getBakUpdateInfo() throws IOException { - return OkHttpUtils.getHtml("https://gitlab.com/fengyuecanzhu/fyreader-resource/-/raw/main/FYReader-Update/" + + return OkHttpUtils.getHtml( + //"https://gitlab.com/fengyuecanzhu/fyreader-resource/-/raw/main/FYReader-Update/" + + "http://101.43.83.105:3000/fengyue/FYReader-Res/raw/branch/main/Plugin/" + (App.isDebug() ? "debug" : "release") + "/content.txt"); } diff --git a/dynamic/src/main/java/xyz/fycz/dynamic/fix/App246Fix5.kt b/dynamic/src/main/java/xyz/fycz/dynamic/fix/App246Fix5.kt index 9d626b5..8c85034 100644 --- a/dynamic/src/main/java/xyz/fycz/dynamic/fix/App246Fix5.kt +++ b/dynamic/src/main/java/xyz/fycz/dynamic/fix/App246Fix5.kt @@ -200,7 +200,8 @@ class App246Fix5 : AppFixHandle { @Throws(IOException::class) fun getBakUpdateInfo(): String { return OkHttpUtils.getHtml( - "https://gitlab.com/fengyuecanzhu/fyreader-resource/-/raw/main/FYReader-Update/" + + //"https://gitlab.com/fengyuecanzhu/fyreader-resource/-/raw/main/FYReader-Update/" + + "http://101.43.83.105:3000/fengyue/FYReader-Res/raw/branch/main/Plugin/" + (if (App.isDebug()) "debug" else "release") + "/content.txt" )