You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 lines
251 B

use crate::state::AppState;
use axum::Router;
use std::sync::Arc;
pub mod dictionary;
pub mod health;
pub fn routes() -> Router<Arc<AppState>> {
Router::new()
.nest("/api", health::routes())
.nest("/api", dictionary::routes())
}