2024-08-04 18:34:42 +02:00
|
|
|
use axum::Router;
|
|
|
|
|
|
|
|
mod hello;
|
2024-08-05 00:15:28 +02:00
|
|
|
mod nav;
|
|
|
|
mod profile;
|
2024-08-04 18:34:42 +02:00
|
|
|
|
|
|
|
pub fn get_routes() -> Router {
|
|
|
|
Router::new()
|
|
|
|
.nest("/hello", hello::get_routes())
|
2024-08-05 00:15:28 +02:00
|
|
|
.nest("/nav", nav::get_routes())
|
|
|
|
.nest("/profile", profile::get_routes())
|
2024-08-04 18:34:42 +02:00
|
|
|
}
|