refacto: nest axum templates routes
This commit is contained in:
@ -1,2 +1,8 @@
|
||||
pub mod hello;
|
||||
pub mod index;
|
||||
use axum::Router;
|
||||
|
||||
mod hello;
|
||||
|
||||
pub fn get_routes() -> Router {
|
||||
Router::new()
|
||||
.nest("/hello", hello::get_routes())
|
||||
}
|
||||
|
Reference in New Issue
Block a user