style: move auth to own folder

This commit is contained in:
Radical 2025-05-01 03:52:23 +02:00
parent a88467fa28
commit 91398ecd5b
3 changed files with 14 additions and 4 deletions

12
src/api/v1/auth/mod.rs Normal file
View file

@ -0,0 +1,12 @@
use actix_web::{Scope, web};
mod register;
mod login;
mod refresh;
pub fn web() -> Scope {
web::scope("/auth")
.service(register::res)
.service(login::res)
.service(refresh::res)
}