added get_ssh_server and set_ssh_server

This commit is contained in:
wt committed 2024-12-28 01:05:01 +07:00
1 parent f7b1d75bab
commit 5a1a3a92a2
10 files changed
+133 -3

No files matched your search

+2
View File
@@ -18,6 +18,8 @@ OpenRouter::OpenRouter()
this->srv.Post("/api/settings/ssh/keys/set", api::settings::set_ssh_keys);
this->srv.Post("/api/settings/ssh/port/get", api::settings::get_ssh_port);
this->srv.Post("/api/settings/ssh/port/set", api::settings::set_ssh_port);
this->srv.Post("/api/settings/ssh/server/get", api::settings::get_ssh_server_http);
this->srv.Post("/api/settings/ssh/server/set", api::settings::set_ssh_server_http);
this->srv.Post("/api/settings/dns/get", api::settings::get_dns);
this->srv.Post("/api/settings/dns/set", api::settings::set_dns);