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 e6ca991..4c6a57a 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 @@ -16,7 +16,7 @@ class ConfigFragment : PreferenceFragmentCompat() { this.options = options val ary = arrayOf(Pair("ProxyMethod","shadowsocks"), Pair("EncryptionMethod","plain"), Pair("Transport", "direct"), Pair("UID", ""), Pair("PublicKey",""), Pair("ServerName", "bing.com"), - Pair("AlternativeNames", ""), Pair("CDNOriginHost", ""), Pair("NumConn","4"), + Pair("AlternativeNames", ""), Pair("CDNOriginHost", ""), Pair("CDNWsUrlPath", ""), Pair("NumConn","4"), Pair("BrowserSig", "chrome"), Pair("StreamTimeout","300"), Pair("KeepAlive", "0")) for (element in ary) { val key = element.first diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 2ac520f..52fdbb7 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -3,6 +3,7 @@ Server Name Alternative Names (comma separated) CDN mode HTTP Origin Override + CDN mode WebSocket URL Path 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 db8a8e6..adf1c7f 100644 --- a/app/src/main/res/xml/config.xml +++ b/app/src/main/res/xml/config.xml @@ -33,6 +33,10 @@ android:key="CDNOriginHost" android:persistent="false" android:title="@string/cloak_cdn_origin_host" /> +