mirror of
https://github.com/AIDotNet/AntSK.git
synced 2026-02-17 14:06:11 +08:00
update 取消默认打开
This commit is contained in:
@@ -123,13 +123,15 @@ 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
|
||||
//Task.Run(async () =>
|
||||
//{
|
||||
// await Task.Delay(3000);
|
||||
// System.Diagnostics.Process.Start("explorer.exe", "http://localhost:5000");
|
||||
//});
|
||||
app.Run();
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user