mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-11 22:06:19 +00:00
fix: Use correct proxy path
This commit is contained in:
@@ -8,7 +8,7 @@ import org.koin.ktor.ext.get
|
|||||||
internal fun Route.oldApiRoute() {
|
internal fun Route.oldApiRoute() {
|
||||||
val oldApiService = get<OldApiService>()
|
val oldApiService = get<OldApiService>()
|
||||||
|
|
||||||
route(Regex("(v2|tools|contributor).*")) {
|
route(Regex("/(v2|tools|contributors).*")) {
|
||||||
handle {
|
handle {
|
||||||
oldApiService.proxy(call)
|
oldApiService.proxy(call)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user