init
This commit is contained in:
13
src/app/http/router.rs
Normal file
13
src/app/http/router.rs
Normal file
@@ -0,0 +1,13 @@
|
||||
use axum::Router;
|
||||
use crate::app::http::api;
|
||||
use crate::app::http::api::core;
|
||||
|
||||
pub fn configure_routes() -> Router {
|
||||
let api_router = Router::new();
|
||||
|
||||
|
||||
Router::new()
|
||||
.merge(core::routes())
|
||||
.nest("/api", api_router )
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user