A:取消固定调试端口
This commit is contained in:
1 parent
09414e3a44
commit
5fc1f86c1b
1 file changed
+3
-3
@@ -121,12 +121,12 @@ public class ServerStartupManager
|
||||
|
||||
private void StartStaticFileServer()
|
||||
{
|
||||
// int port = SysHelper.GetAvailablePort();
|
||||
int port = 3000;
|
||||
int port = SysHelper.GetAvailablePort();
|
||||
// int port = 3000;
|
||||
AppConfig.Instance.HttpPort = port;
|
||||
AppConfig.Instance.HttpPath = $"http://127.0.0.1:{port}";
|
||||
|
||||
// _staticFileServer.Start(AppConfig.Instance.HttpPort);
|
||||
_staticFileServer.Start(AppConfig.Instance.HttpPort);
|
||||
}
|
||||
|
||||
public void Stop()
|
||||
|
||||
Reference in new issue
Block a user