From df116bd22134c8222c72b28e9387bc9871d3473e Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sat, 24 Aug 2024 22:32:37 +0200 Subject: [PATCH] feat: Respond to all ping request methods --- .../kotlin/app/revanced/api/configuration/routes/ApiRoute.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/api/configuration/routes/ApiRoute.kt b/src/main/kotlin/app/revanced/api/configuration/routes/ApiRoute.kt index 834f8573..d041461f 100644 --- a/src/main/kotlin/app/revanced/api/configuration/routes/ApiRoute.kt +++ b/src/main/kotlin/app/revanced/api/configuration/routes/ApiRoute.kt @@ -72,7 +72,7 @@ internal fun Route.apiRoute() { installPingRouteDocumentation() - head { + handle { call.respond(HttpStatusCode.NoContent) } }