File tree Expand file tree Collapse file tree
app/src/main/kotlin/features/proxy/server/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import kotlinx.serialization.json.contentOrNull
1313data class Custom (
1414 var remarks : String = " " ,
1515 var overrideAsteriskInboundAndDns : Boolean = true ,
16- var configJson : String = DefaultCustomXrayConfigJson ,
16+ var configJson : String = " " ,
1717) : ProxyServer<Custom> {
1818 override fun getInfo (): ProxyServerInfo {
1919 return ProxyServerInfo (remarks, customXrayConfigSummary(configJson), " Custom" )
@@ -243,17 +243,6 @@ private val CustomXrayConfigPrettyJson = Json {
243243 prettyPrintIndent = " "
244244}
245245
246- private const val DefaultCustomXrayConfigJson = """
247- {
248- "outbounds": [
249- {
250- "tag": "proxy",
251- "protocol": "freedom"
252- }
253- ]
254- }
255- """
256-
257246private const val CustomProxyOutboundTag = " proxy"
258247private val CustomFixedOutboundTags = setOf (
259248 CustomProxyOutboundTag ,
You can’t perform that action at this time.
0 commit comments