mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2024-12-23 00:36:28 +00:00
15 lines
284 B
Rust
15 lines
284 B
Rust
use actix_web::web;
|
|
|
|
use crate::health;
|
|
use crate::note;
|
|
use crate::status;
|
|
|
|
pub fn init(cfg: &mut web::ServiceConfig) {
|
|
cfg.service(
|
|
web::scope("/api")
|
|
.service(note::init())
|
|
.service(status::init())
|
|
.service(health::init()),
|
|
);
|
|
}
|