🏡 index : ~doyle/blocks.ls.git

use axum::routing::get;
use axum::Router;

mod block;
mod height;

pub fn router() -> Router {
    Router::new()
        .route("/height", get(height::handle))
        .route("/block/:height", get(block::handle))
}