mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-23 07:46:13 -05:00
feat: implement GUI restart functionality and update related routes
This commit is contained in:
5 files changed
+62
-10
No files matched your search
@@ -11,6 +11,7 @@ pub(crate) fn routes(ctx: Arc<WsServerContext>) -> Router {
|
||||
Router::new()
|
||||
.route("/health", get(handlers::health))
|
||||
.route("/active-gui", post(handlers::active_gui))
|
||||
.route("/restart-gui", post(handlers::restart_gui))
|
||||
.route("/update-gui", post(handlers::update_gui))
|
||||
.route("/ws", get(handlers::ws_handler))
|
||||
.with_state(ctx)
|
||||
|
||||
Reference in new issue
Block a user