revert change related to #17, didn't help with InetAddress.getByName

This commit is contained in:
creeper123123321 2020-11-20 13:39:31 -03:00
parent ba5f3ae82c
commit 0fef6633ea

View File

@ -89,10 +89,6 @@ fun channelSocketFactory(): ChannelFactory<SocketChannel> {
}
fun main(args: Array<String>) {
if (System.getProperty("java.net.preferIPv6Addresses") == null) {
System.setProperty("java.net.preferIPv6Addresses", "true")
}
File("config/https.jks").apply {
parentFile.mkdirs()
if (!exists()) generateCertificate(this)