2022-03-01 15:24:17 +01:00
|
|
|
use actix_web::web;
|
2022-03-01 00:53:47 +01:00
|
|
|
|
|
|
|
use crate::note;
|
2022-03-01 15:24:17 +01:00
|
|
|
use crate::status;
|
2022-03-01 00:53:47 +01:00
|
|
|
|
|
|
|
pub fn init(cfg: &mut web::ServiceConfig) {
|
2022-03-01 15:24:17 +01:00
|
|
|
cfg.service(
|
|
|
|
web::scope("/api")
|
|
|
|
.service(note::init())
|
|
|
|
.service(status::init()),
|
|
|
|
);
|
2022-03-01 00:53:47 +01:00
|
|
|
}
|