Implement asset inventory
build / build-linux-amd64 (push) Successful in 2m6s

This commit is contained in:
2026-05-08 23:06:04 +02:00
parent 9d53999eea
commit 0dda056bda
4 changed files with 324 additions and 0 deletions
+8
View File
@@ -90,6 +90,14 @@ pub fn build(state: Arc<crate::api::state::AppState>) -> Option<Router> {
)
.route("/admin/pages/users/:id/delete", post(pages::users::delete))
// Devices
.route(
"/admin/pages/devices/list-fragment",
get(pages::devices::list_fragment),
)
.route(
"/admin/pages/devices/:peer_id/detail",
get(pages::devices::detail),
)
.route(
"/admin/pages/devices/:peer_id/disconnect",
post(pages::devices::force_disconnect),