mirror of
https://github.com/AIDotNet/AntSK.git
synced 2026-02-17 14:06:11 +08:00
updte 延迟3秒启动
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user