refactor: move api to /api

serve api under /api
This commit is contained in:
Radical 2025-05-04 22:13:05 +02:00
parent f12f81d584
commit ebb4286c08
2 changed files with 12 additions and 4 deletions

View file

@ -1,2 +1,11 @@
pub mod v1;
pub mod versions;
use actix_web::Scope;
use actix_web::web;
mod v1;
mod versions;
pub fn web() -> Scope {
web::scope("/api")
.service(v1::web())
.service(versions::res)
}