mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-08 19:38:36 +01:00
fix readme and hosts
This commit is contained in:
parent
8237ec20ae
commit
01a2dc6ad6
@ -8,8 +8,5 @@ TODO: Online mode, protocol auto detection, transparent proxying?
|
||||
|
||||
Usage:
|
||||
- ./gradlew clean run
|
||||
- There is currently no config
|
||||
- Backend address is determined by virtual host
|
||||
- VIAaaS currently must be used in a "viaaas" subdomain (may change in the future)
|
||||
- Private IP addresses are currently blocked
|
||||
- Connection to private IP addresses are currently blocked
|
||||
- Connect to mc.example.com._v1_8.viaaas.localhost
|
||||
|
@ -133,7 +133,7 @@ class VIAaaSAddress {
|
||||
if (foundOptions) {
|
||||
realAddrPart = true
|
||||
}
|
||||
} else if (parts.filterIndexed { a, _ -> a <= i }
|
||||
} else if (parts.filterIndexed { a, _ -> a >= i }
|
||||
.joinToString(".").equals(viaHostName, ignoreCase = true)) {
|
||||
foundDomain = true
|
||||
}
|
||||
@ -153,4 +153,4 @@ class VIAaaSAddress {
|
||||
}
|
||||
return this
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user