mirror of
https://github.com/telemt/telemt.git
synced 2026-11-22 07:16:38 +03:00
API: add dry-run validation with change preview and runtime guards
This commit is contained in:
@@ -163,6 +163,9 @@ async fn dispatch(
|
||||
.await
|
||||
}
|
||||
("GET", "/v1/config") => fixed_routes::get_config_route(shared).await,
|
||||
("POST", "/v1/config/validate") => {
|
||||
fixed_routes::validate_config_route(req, shared, query, body_limit).await
|
||||
}
|
||||
("POST", "/v1/system/reload") => {
|
||||
fixed_routes::reload_route(req, shared, cfg, request_id, body_limit).await
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user