Skip to content

Commit

Permalink
added route
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraccaman committed Jun 4, 2024
1 parent 5acc8bb commit 2662e45
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions webserver/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ impl ApplicationServer {

Router::new()
.route("/pos/validator", get(pos_handlers::get_validators))
.route(
"/pos/my-validator",
get(pos_handlers::get_my_validators),
)
.route("/pos/bond/:address", get(pos_handlers::get_bonds))
.route("/pos/unbond/:address", get(pos_handlers::get_unbonds))
.route(
Expand Down

0 comments on commit 2662e45

Please sign in to comment.