mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2026-04-02 18:05:23 +00:00
restructuring
This commit is contained in:
12
packages/backend/src/api.rs
Normal file
12
packages/backend/src/api.rs
Normal 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()),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user