forked from gorb/backend
style: 🎨 restructure server folder
This commit is contained in:
parent
d72214eb56
commit
776750578d
5 changed files with 11 additions and 5 deletions
|
@ -6,7 +6,6 @@ use ::uuid::Uuid;
|
|||
use std::time::{SystemTime, UNIX_EPOCH};
|
||||
|
||||
mod uuid;
|
||||
mod channels;
|
||||
|
||||
use crate::{api::v1::auth::check_access_token, Data};
|
||||
|
||||
|
@ -35,8 +34,7 @@ const MAX_SIZE: usize = 262_144;
|
|||
pub fn web() -> Scope {
|
||||
web::scope("/servers")
|
||||
.service(res)
|
||||
.service(channels::web())
|
||||
.service(uuid::res)
|
||||
.service(uuid::web())
|
||||
}
|
||||
|
||||
#[post("")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue