mirror of
https://github.com/netchx/netch.git
synced 2026-04-01 19:15:09 +08:00
Fix HTTP port information lost
This commit is contained in:
@@ -160,6 +160,13 @@ namespace Netch.Controllers
|
||||
Global.MainForm.StatusText(i18N.Translate("Starting ", ModeController.Name));
|
||||
if (await Task.Run(() => ModeController.Start(server, mode)))
|
||||
{
|
||||
switch (mode.Type)
|
||||
{
|
||||
case 3:
|
||||
case 5:
|
||||
StatusPortInfoText.HttpPort = port;
|
||||
break;
|
||||
}
|
||||
UsingPorts.Add(port);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user