change route /keys/ -> /keys; #495

This commit is contained in:
qdequele 2020-03-02 16:53:28 +01:00
parent 1cb9f75026
commit decce4d8e4
No known key found for this signature in database
GPG Key ID: B3F0A000EBF11745

View File

@ -113,7 +113,7 @@ pub fn load_routes(app: &mut tide::Server<Data>) {
app.at("/indexes/:index/stats") app.at("/indexes/:index/stats")
.get(|ctx| into_response(stats::index_stats(ctx))); .get(|ctx| into_response(stats::index_stats(ctx)));
app.at("/keys/").get(|ctx| into_response(key::list(ctx))); app.at("/keys").get(|ctx| into_response(key::list(ctx)));
app.at("/health") app.at("/health")
.get(|ctx| into_response(health::get_health(ctx))) .get(|ctx| into_response(health::get_health(ctx)))