diff --git a/Apewer.Web/Web/ApiProgram.cs b/Apewer.Web/Web/ApiProgram.cs index 88238d9..30691f0 100644 --- a/Apewer.Web/Web/ApiProgram.cs +++ b/Apewer.Web/Web/ApiProgram.cs @@ -75,7 +75,7 @@ namespace Apewer.Web } /// 启动 Mini 服务器,返回错误消息。 - public static string Mini(int port = 80, bool await = true) => Mini(new IPEndPoint(IPAddress.Any, port)); + public static string Mini(int port = 80, bool await = true) => Mini(new IPEndPoint(IPAddress.Any, port), await); }