Commit 5e9788e6 authored by 吴春's avatar 吴春

提交代码

parent 3a0ac105
...@@ -98,12 +98,12 @@ namespace Mall.WebApi ...@@ -98,12 +98,12 @@ namespace Mall.WebApi
// quartz.Stop(); //网站停止完成执行 // quartz.Stop(); //网站停止完成执行
//}); //});
app.UseStaticFiles(new StaticFileOptions //app.UseStaticFiles(new StaticFileOptions
{ //{
FileProvider = new Microsoft.Extensions.FileProviders.PhysicalFileProvider( // FileProvider = new Microsoft.Extensions.FileProviders.PhysicalFileProvider(
Path.Combine(Directory.GetCurrentDirectory(), "upfile")), // Path.Combine(Directory.GetCurrentDirectory(), "upfile")),
RequestPath = "/upfile" // RequestPath = "/upfile"
}); //});
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment