From a24c5548e1a66f0841254f89bfead16ef3d218ca Mon Sep 17 00:00:00 2001 From: zyxucp <286513187@qq.com> Date: Sat, 29 Mar 2025 12:51:43 +0800 Subject: [PATCH] =?UTF-8?q?updte=20=E5=BB=B6=E8=BF=9F3=E7=A7=92=E5=90=AF?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/AntSK/Program.cs | 8 ++++++++ 1 file changed, 8 insertions(+) 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 + +