src/api2/node: start node configuration api

This commit is contained in:
Dietmar Maurer committed 2019-01-23 13:09:17 +01:00
1 parent d15009c0ce
commit b2b3485d5f
7 files changed
+106 -6

No files matched your search

+2 -1
View File
@@ -6,6 +6,7 @@ use serde_json::{json, Value};
pub mod config;
pub mod admin;
pub mod node;
mod version;
mod subscription;
@@ -48,7 +49,7 @@ pub fn router() -> Router {
.subdir("subdir3", route4);
let nodes = Router::new()
.match_all("node", nodeinfo);
.subdir("localhost", node::router());
let route = Router::new()