diff --git a/app/src/main/java/com/github/shadowsocks/plugin/ck_client/ConfigFragment.kt b/app/src/main/java/com/github/shadowsocks/plugin/ck_client/ConfigFragment.kt index 67c18d6..35dc986 100644 --- a/app/src/main/java/com/github/shadowsocks/plugin/ck_client/ConfigFragment.kt +++ b/app/src/main/java/com/github/shadowsocks/plugin/ck_client/ConfigFragment.kt @@ -17,8 +17,8 @@ class ConfigFragment : PreferenceFragment() { this._options = options val ary = arrayOf(Pair("ProxyMethod","shadowsocks"), Pair("EncryptionMethod","plain"), Pair("Transport", "direct"), Pair("UID", ""), Pair("PublicKey",""), Pair("ServerName", "bing.com"), - Pair("NumConn","4"), Pair("BrowserSig", "chrome"), Pair("StreamTimeout","300"), - Pair("KeepAlive", "0")) + Pair("CDNOriginHost", ""), Pair("NumConn","4"), Pair("BrowserSig", "chrome"), + Pair("StreamTimeout","300"), Pair("KeepAlive", "0")) for (element in ary) { val key = element.first val defaultValue = element.second diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 3f7a7c6..26d8ba4 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,6 +1,7 @@ Cloak Server Name + CDN mode HTTP Origin Override UID Public Key Number of Connections diff --git a/app/src/main/res/xml/config.xml b/app/src/main/res/xml/config.xml index 2681cb0..c64e498 100644 --- a/app/src/main/res/xml/config.xml +++ b/app/src/main/res/xml/config.xml @@ -25,6 +25,10 @@ android:key="ServerName" android:persistent="false" android:title="@string/cloak_server_name" /> +