partial content for web server, update viarewind

This commit is contained in:
creeper123123321 2021-07-21 20:40:31 -03:00
parent 07aba32ab2
commit 399215aaa2
2 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,7 @@ dependencies {
val vvVer = "4.0.2-SNAPSHOT"
val vbVer = "4.0.2-SNAPSHOT"
val vrVer = "a01541a"
val vrVer = "1785aad508"
implementation("com.viaversion:viaversion:$vvVer") { isTransitive = false }
implementation("com.viaversion:viabackwards:$vbVer") { isTransitive = false }
implementation("com.github.ViaVersion.ViaRewind:viarewind-all:$vrVer") { isTransitive = false }

View File

@ -42,6 +42,7 @@ class ViaWebApp(val viaWebServer: WebDashboardServer) {
// i think we aren't vulnerable to breach, dynamic things are websockets
// https://ktor.io/docs/compression.html#security
install(Compression)
install(PartialContent)
routing {
get("{path...}") {