diff options
author | Toby Vincent <tobyv@tobyvin.dev> | 2024-04-15 20:51:43 -0500 |
---|---|---|
committer | Toby Vincent <tobyv@tobyvin.dev> | 2024-04-15 20:51:43 -0500 |
commit | 940de575ca40e906c714c6b4ae1d1cbb6b4fc3d6 (patch) | |
tree | 2bead1436dea90f578cff694b4a8f1f9585396ca /src/api.rs | |
parent | 4eea9d6ab134bdd05506dc85145e72ab186bf2ad (diff) |
refactor(api): move login/logout into account mod
Diffstat (limited to 'src/api.rs')
-rw-r--r-- | src/api.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2,11 +2,13 @@ use axum::{http::Uri, response::IntoResponse, routing::get}; use crate::state::AppState; +pub mod account; pub mod error; pub mod users; pub fn router() -> axum::Router<AppState> { axum::Router::new() + .nest("/account", account::router()) .merge(users::router()) .route("/healthcheck", get(healthcheck)) .fallback(fallback) |