Implement /api/runner/status
This commit is contained in:
parent
5c8c037417
commit
c713abc5d3
11 changed files with 296 additions and 29 deletions
|
|
@ -1,3 +1,4 @@
|
|||
mod api;
|
||||
mod commit;
|
||||
mod commit_hash;
|
||||
mod index;
|
||||
|
|
@ -47,6 +48,7 @@ pub async fn run(server: Server) -> somehow::Result<()> {
|
|||
.route("/commit/:hash", get(commit_hash::get))
|
||||
.route("/queue/", get(queue::get))
|
||||
.route("/queue/table", get(queue::get_table))
|
||||
.merge(api::router(&server))
|
||||
.fallback(get(r#static::static_handler))
|
||||
.with_state(server.clone());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue