src/api2.rs: move backup api to /backup

This commit is contained in:
Dietmar Maurer
2019-06-05 07:23:21 +02:00
parent 97eeea3b4a
commit 7773ccc11f
8 changed files with 9 additions and 9 deletions

View File

@ -1,6 +1,7 @@
pub mod types;
pub mod config;
pub mod admin;
pub mod backup;
pub mod node;
mod version;
mod subscription;
@ -16,6 +17,7 @@ pub fn router() -> Router {
let route = Router::new()
.subdir("access", access::router())
.subdir("admin", admin::router())
.subdir("backup", backup::router())
.subdir("config", config::router())
.subdir("nodes", nodes)
.subdir("subscription", subscription::router())