feat: 支持 WatchDog

This commit is contained in:
mofeng-git
2026-07-16 20:07:33 +08:00
parent 213359b6c8
commit 50dd419e5a
17 changed files with 1127 additions and 0 deletions

View File

@@ -170,6 +170,14 @@ pub fn create_router(state: Arc<AppState>) -> Router {
// Web server configuration
.route("/config/web", get(handlers::config::get_web_config))
.route("/config/web", patch(handlers::config::update_web_config))
.route(
"/config/watchdog",
get(handlers::config::get_watchdog_config),
)
.route(
"/config/watchdog",
patch(handlers::config::update_watchdog_config),
)
.route("/config/computer-use", get(handlers::computer_use_config))
.route(
"/config/computer-use",