diff --git a/server/proxy.js b/server/proxy.js index 22c63b39..2f2b5769 100644 --- a/server/proxy.js +++ b/server/proxy.js @@ -7,7 +7,7 @@ const { UptimeKumaServer } = require("./uptime-kuma-server"); class Proxy { - static SUPPORTED_PROXY_PROTOCOLS = [ "http", "https", "socks", "socks5", "socks4" ]; + static SUPPORTED_PROXY_PROTOCOLS = [ "http", "https", "socks", "socks5", "socks5h", "socks4" ]; /** * Saves and updates given proxy entity @@ -126,6 +126,7 @@ class Proxy { break; case "socks": case "socks5": + case "socks5h": case "socks4": agent = new SocksProxyAgent({ ...httpAgentOptions, diff --git a/src/components/ProxyDialog.vue b/src/components/ProxyDialog.vue index 434c571b..74e5878b 100644 --- a/src/components/ProxyDialog.vue +++ b/src/components/ProxyDialog.vue @@ -17,6 +17,7 @@ +