mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-06-15 12:12:01 +08:00
feat: 新增 frp 远程访问扩展
This commit is contained in:
@@ -205,6 +205,10 @@ pub fn create_router(state: Arc<AppState>) -> Router {
|
||||
"/extensions/easytier/config",
|
||||
patch(handlers::extensions::update_easytier_config),
|
||||
)
|
||||
.route(
|
||||
"/extensions/frpc/config",
|
||||
patch(handlers::extensions::update_frpc_config),
|
||||
)
|
||||
// Terminal (ttyd) reverse proxy - WebSocket and HTTP
|
||||
.route("/terminal", get(handlers::terminal::terminal_index))
|
||||
.route("/terminal/", get(handlers::terminal::terminal_index))
|
||||
|
||||
Reference in New Issue
Block a user