Skip to content

Commit

Permalink
删除多余登录服务器 (#1634)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdoeswhat authored Oct 30, 2021
1 parent 9e151e7 commit 3f51867
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ internal fun getRandomByteArray(length: Int): ByteArray = ByteArray(length) { Ra
// [114.221.148.179:14000, 113.96.13.125:8080, 14.22.3.51:8080, 42.81.172.207:443, 114.221.144.89:80, 125.94.60.148:14000, 42.81.192.226:443, 114.221.148.233:8080, msfwifi.3g.qq.com:8080, 42.81.172.22:80]

internal val DefaultServerList: MutableSet<Pair<String, Int>> =
"msfwifi.3g.qq.com:8080, 14.215.138.110:8080, 113.96.12.224:8080, 157.255.13.77:14000, 120.232.18.27:443, 183.3.235.162:14000, 163.177.89.195:443, 183.232.94.44:80, 203.205.255.224:8080, 203.205.255.221:8080"
"msfwifi.3g.qq.com:8080"
.split(", ")
.map {
val host = it.substringBefore(':')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,7 @@ internal interface ServerList {

companion object : ComponentKey<ServerList> {
val DEFAULT_SERVER_LIST: Set<ServerAddress> =
"""msfwifi.3g.qq.com:8080, 14.215.138.110:8080, 113.96.12.224:8080,
|157.255.13.77:14000, 120.232.18.27:443,
|183.3.235.162:14000, 163.177.89.195:443, 183.232.94.44:80,
|203.205.255.224:8080, 203.205.255.221:8080""".trimMargin()
"""msfwifi.3g.qq.com:8080""".trimMargin()
.splitToSequence(",").filterNot(String::isBlank)
.map { it.trim() }
.map {
Expand Down

0 comments on commit 3f51867

Please sign in to comment.