update deps

This commit is contained in:
creeper123123321 2023-03-14 17:13:21 -03:00
parent d2b8f7b617
commit 3530d81f28
2 changed files with 6 additions and 4 deletions

View File

@ -60,8 +60,8 @@ dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation(kotlin("reflect"))
val vvVer = "4.6.0-1.19.4-rc2-SNAPSHOT"
val vbVer = "4.6.0-1.19.4-pre4-SNAPSHOT"
val vvVer = "4.6.0"
val vbVer = "4.6.0"
val vrVer = "549d1bd"
implementation("com.viaversion:viaversion:$vvVer") { isTransitive = false }
implementation("com.viaversion:viabackwards:$vbVer") { isTransitive = false }

View File

@ -32,8 +32,10 @@ class ViaWebApp(val viaWebServer: WebServer) {
install(CallLogging) {
level = Level.DEBUG
this.format {
"${it.request.local.method.value} ${it.response.status()?.value} ${it.request.local.remoteHost} (O: ${it.request.origin.remoteHost}) " +
"${it.request.local.scheme}://${it.request.local.host}:${it.request.local.port}${it.request.local.uri}"
"${it.request.local.method.value} ${it.response.status()?.value}" +
" ${it.request.local.remoteHost}:${it.request.local.remotePort}" +
" (O: ${it.request.origin.remoteHost}:${it.request.origin.remotePort}) " +
"${it.request.local.scheme}://${it.request.local.serverHost}:${it.request.local.serverPort}${it.request.local.uri}"
}
}
install(WebSockets) {