mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-11 05:46:18 +00:00
feat: Improve routing paths
This commit is contained in:
@@ -18,6 +18,7 @@ fun Application.configureRouting() {
|
||||
routing {
|
||||
route("/v${configuration.apiVersion}") {
|
||||
route("/patches") {
|
||||
route("latest") {
|
||||
get {
|
||||
val patches = backend.getRelease(configuration.organization, configuration.patchesRepository)
|
||||
val integrations = configuration.integrationsRepositoryNames.map {
|
||||
@@ -46,6 +47,7 @@ fun Application.configureRouting() {
|
||||
call.respond(release)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
get("/contributors") {
|
||||
val contributors = configuration.contributorsRepositoryNames.map {
|
||||
|
||||
Reference in New Issue
Block a user