fix ws ip

This commit is contained in:
creeper123123321 2021-03-13 17:29:04 -03:00
parent d376b4ae4f
commit 7971d3c8e4

View File

@ -18,7 +18,7 @@ data class WebClient(
val atInt = AtomicInteger()
fun next() = atInt.getAndAdd(1)
}
val id = "${ws.call.request.local.host}(${ws.call.request.origin.host})-${IdGen.next()}"
val id = "${ws.call.request.local.remoteHost}(${ws.call.request.origin.remoteHost})-${IdGen.next()}"
val listenedIds: MutableSet<UUID> = Sets.newConcurrentHashSet()
val rateLimiter = RateLimiter.create(VIAaaSConfig.rateLimitWs)