site-backend/src/api/mod.rs

8 lines
141 B
Rust

use axum::{routing::post, Router};
mod deploy;
pub fn router() -> Router {
Router::new().route("/deploy", post(deploy::post_deploy))
}