mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-23 21:52:35 +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:
|
Usage:
|
||||||
- ./gradlew clean run
|
- ./gradlew clean run
|
||||||
- There is currently no config
|
- Connection to private IP addresses are currently blocked
|
||||||
- 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
|
|
||||||
- Connect to mc.example.com._v1_8.viaaas.localhost
|
- Connect to mc.example.com._v1_8.viaaas.localhost
|
||||||
|
@ -133,7 +133,7 @@ class VIAaaSAddress {
|
|||||||
if (foundOptions) {
|
if (foundOptions) {
|
||||||
realAddrPart = true
|
realAddrPart = true
|
||||||
}
|
}
|
||||||
} else if (parts.filterIndexed { a, _ -> a <= i }
|
} else if (parts.filterIndexed { a, _ -> a >= i }
|
||||||
.joinToString(".").equals(viaHostName, ignoreCase = true)) {
|
.joinToString(".").equals(viaHostName, ignoreCase = true)) {
|
||||||
foundDomain = true
|
foundDomain = true
|
||||||
}
|
}
|
||||||
@ -153,4 +153,4 @@ class VIAaaSAddress {
|
|||||||
}
|
}
|
||||||
return this
|
return this
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user