.net core 如何设置可访问静态文件

江湖百晓生2年前 (2022-02-28)c# net core1044
app.UseStaticFiles(new StaticFileOptions { //资源所在的绝对路径。 FileProvider = ...