Implement "strategy selector" so it is possible to push certain strategies only to selected devices
build / build-linux-amd64 (push) Successful in 1m49s
build / build-linux-amd64 (push) Successful in 1m49s
This commit is contained in:
@@ -145,6 +145,18 @@ pub fn build(state: Arc<crate::api::state::AppState>) -> Option<Router> {
|
||||
"/admin/pages/strategies/:id/delete",
|
||||
post(pages::strategies::delete),
|
||||
)
|
||||
.route(
|
||||
"/admin/pages/strategies/:id/assignments/group",
|
||||
post(pages::strategies::assign_group),
|
||||
)
|
||||
.route(
|
||||
"/admin/pages/strategies/:id/assignments/peer",
|
||||
post(pages::strategies::assign_peer),
|
||||
)
|
||||
.route(
|
||||
"/admin/pages/strategies/:id/assignments/:assignment_id/delete",
|
||||
post(pages::strategies::unassign),
|
||||
)
|
||||
.route("/admin/pages/deploy", get(pages::deploy::index))
|
||||
.route(
|
||||
"/admin/pages/deploy/generate",
|
||||
|
||||
Reference in New Issue
Block a user