How to serve static folder on every route with ASP.NET core 5 in C#?

前端 未结 0 1735
迷失自我
迷失自我 2020-12-23 21:56

Right now I use

app.UseDefaultFiles();
app.UseStaticFiles();

with UseWebRoot("./public"

相关标签:
回答
  • 消灭零回复
提交回复
热议问题