style: move auth to own folder
This commit is contained in:
parent
a88467fa28
commit
91398ecd5b
3 changed files with 14 additions and 4 deletions
|
@ -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())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue