mirror of
https://github.com/revanced/revanced-api.git
synced 2025-04-30 06:34:36 +02:00
fix: Use correct proxy path
This commit is contained in:
parent
c6cacef907
commit
ef927688a3
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user