mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-11-21 11:55:15 +01:00
revert change related to #17, didn't help with InetAddress.getByName
This commit is contained in:
parent
ba5f3ae82c
commit
0fef6633ea
@ -89,10 +89,6 @@ fun channelSocketFactory(): ChannelFactory<SocketChannel> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun main(args: Array<String>) {
|
fun main(args: Array<String>) {
|
||||||
if (System.getProperty("java.net.preferIPv6Addresses") == null) {
|
|
||||||
System.setProperty("java.net.preferIPv6Addresses", "true")
|
|
||||||
}
|
|
||||||
|
|
||||||
File("config/https.jks").apply {
|
File("config/https.jks").apply {
|
||||||
parentFile.mkdirs()
|
parentFile.mkdirs()
|
||||||
if (!exists()) generateCertificate(this)
|
if (!exists()) generateCertificate(this)
|
||||||
|
Loading…
Reference in New Issue
Block a user