放到启动的应用程序的最后面
app.Run(async (context) =>
{
context.Response.ContentType = "text/html";
await context.Response.SendFileAsync(Path.Combine(env.WebRootPath, "index.html"));
});
https://blog.csdn.net/lee576/article/details/88355877
放到启动的应用程序的最后面
app.Run(async (context) =>
{
context.Response.ContentType = "text/html";
await context.Response.SendFileAsync(Path.Combine(env.WebRootPath, "index.html"));
});
https://blog.csdn.net/lee576/article/details/88355877