site-backend/src/api/mod.rs

8 lines
141 B
Rust
Raw Normal View History

2022-04-02 21:00:38 +02:00
use axum::{routing::post, Router};
2022-04-02 20:56:51 +02:00
mod deploy;
pub fn router() -> Router {
2022-04-02 20:56:51 +02:00
Router::new().route("/deploy", post(deploy::post_deploy))
}