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

View file

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