Skip to content

Commit

Permalink
feat!: Removal of old endpoints (#52)
Browse files Browse the repository at this point in the history
Removing the old mirror endpoints.
  • Loading branch information
Isawan authored Aug 31, 2023
2 parents cc07b42 + 886df4e commit 5398841
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,6 @@ pub(crate) fn provider_mirror_app<C: Clone + Send + Sync + CredentialHelper + 's

let api = crate::http::api::routes(APIState::from_ref(&state));
let mirror = Router::new()
.route(
"/:hostname/:namespace/:provider_type/index.json",
get(index_handler),
)
.route(
"/:hostname/:namespace/:provider_type/:version",
get(version_handler),
)
.route("/artifacts/:version_id", get(artifacts_handler))
.route(
"/mirror/v1/:hostname/:namespace/:provider_type/index.json",
get(index_handler),
Expand Down

0 comments on commit 5398841

Please sign in to comment.