restructuring

This commit is contained in:
2022-09-05 13:49:40 +02:00
parent 024dfeeeb7
commit 5912458e46
80 changed files with 1679 additions and 1667 deletions

View File

@@ -0,0 +1,12 @@
use actix_web::web;
use crate::note;
use crate::status;
pub fn init(cfg: &mut web::ServiceConfig) {
cfg.service(
web::scope("/api")
.service(note::init())
.service(status::init()),
);
}