Update V2rayConfig.kt
This commit is contained in:
@@ -475,6 +475,15 @@ data class V2rayConfig(
|
||||
return null
|
||||
}
|
||||
|
||||
fun getFragmentOutbound(): OutboundBean? {
|
||||
outbounds.forEach { outbound ->
|
||||
if (outbound.protocol == "freedom" && outbound.tag == "fragment") {
|
||||
return outbound
|
||||
}
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
||||
fun toPrettyPrinting(): String {
|
||||
return GsonBuilder()
|
||||
.setPrettyPrinting()
|
||||
|
||||
Reference in New Issue
Block a user