diff --git a/src/AntSK/Program.cs b/src/AntSK/Program.cs index efed61f..bb6bd68 100644 --- a/src/AntSK/Program.cs +++ b/src/AntSK/Program.cs @@ -123,5 +123,13 @@ app.UseEndpoints(endpoints => { endpoints.MapControllers(); }); +Task.Run(async () => +{ + await Task.Delay(3000); + System.Diagnostics.Process.Start("explorer.exe", "http://localhost:5000"); +}); app.Run(); +//延迟3秒后打开浏览器 localhost:5000 + +