10 lines
198 B
Rust
10 lines
198 B
Rust
use axum::{routing, Router};
|
|
|
|
mod cps;
|
|
mod home;
|
|
|
|
pub fn get_routes() -> Router {
|
|
Router::new()
|
|
.route("/home", routing::get(home::home))
|
|
.route("/cps", routing::get(cps::cps))
|
|
} |