Skip to content

Commit

Permalink
feat(gitea): Add a gitea route
Browse files Browse the repository at this point in the history
Add a `/v1/gitea` route, handled by the same code as `/v1/forgejo`.

Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
  • Loading branch information
algernon authored and cafkafk committed Oct 29, 2023
1 parent 083bade commit 6eff6fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/v1/routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ pub fn get_routes() -> Router {
.nest("/github", get_github_routes())
.nest("/flakehub", get_flakehub_routes())
.nest("/forgejo", get_forgejo_routes())
.nest("/gitea", get_forgejo_routes())
.merge(get_forgejo_redirect_routes())
}

0 comments on commit 6eff6fe

Please sign in to comment.