diff --git a/net.nutcore.aliddns/net.nutcore.aliddns/Form_ngrok.cs b/net.nutcore.aliddns/net.nutcore.aliddns/Form_ngrok.cs index d8b5dfb..48ef026 100644 --- a/net.nutcore.aliddns/net.nutcore.aliddns/Form_ngrok.cs +++ b/net.nutcore.aliddns/net.nutcore.aliddns/Form_ngrok.cs @@ -31,7 +31,7 @@ namespace net.nutcore.aliddns var lanhttps = 443; int.TryParse(textBox_lanHttps.Text, out lanhttps); - textBox_lanHttps.Text = lanhttp.ToString(); + textBox_lanHttps.Text = lanhttps.ToString(); var subdomain = textBox_subDomain.Text.ToString(); @@ -83,7 +83,7 @@ namespace net.nutcore.aliddns textBox_serverAddr.Text = config.server_addr; textBox_subDomain.Text = config.tunnels.website_http.subdomain.ToString(); textBox_lanHttp.Text = config.tunnels.website_http.proto.http.ToString(); - textBox_lanHttps.Text = config.tunnels.website_http.proto.https.ToString(); + textBox_lanHttps.Text = config.tunnels.website_https.proto.https.ToString(); textBox_remotePort1.Text = config.tunnels.tcp1.remote_port.ToString(); textBox_lanPort1.Text = config.tunnels.tcp1.proto.tcp.ToString(); textBox_remotePort2.Text = config.tunnels.tcp2.remote_port.ToString(); diff --git a/net.nutcore.aliddns/net.nutcore.aliddns/NgrokHelper.cs b/net.nutcore.aliddns/net.nutcore.aliddns/NgrokHelper.cs index ac8dcae..0697c48 100644 --- a/net.nutcore.aliddns/net.nutcore.aliddns/NgrokHelper.cs +++ b/net.nutcore.aliddns/net.nutcore.aliddns/NgrokHelper.cs @@ -238,7 +238,7 @@ namespace net.nutcore.aliddns break; default: - exec.Arguments += "website_http website_https tcp1 tcp2 tcp3 tcp5"; + exec.Arguments += "website_http website_https tcp1 tcp2 tcp3 tcp4"; break; }