This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user