summaryrefslogtreecommitdiffstats
path: root/src/routes.rs
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2024-04-08 16:31:44 -0500
committerToby Vincent <tobyv@tobyvin.dev>2024-04-11 23:49:41 -0500
commitd9ed52fc239e3547eb99fe03bd296ab2808d2ebc (patch)
tree2fdc8a0e33bdf0902f608daa8e41d61df80ea9b2 /src/routes.rs
parent9a6c04d52edb10431f9f5ca2dbc83c410cb5daee (diff)
wip: impl jwt handling
Diffstat (limited to 'src/routes.rs')
-rw-r--r--src/routes.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/routes.rs b/src/routes.rs
index 897b3cb..73a6dc4 100644
--- a/src/routes.rs
+++ b/src/routes.rs
@@ -8,9 +8,12 @@ use axum::{
use axum_extra::routing::RouterExt;
use tower_http::cors::CorsLayer;
-use crate::{jwt::authenticate, state::AppState};
+use crate::state::AppState;
+
+use self::jwt::authenticate;
mod healthcheck;
+mod jwt;
mod login;
mod register;
mod user;