This commit is contained in:
owenchen committed 2026-08-28 08:48:34 +08:00
1 parent 1e125254eb
commit a785f1429b
21 files changed
+193 -489

No files matched your search

@@ -103,7 +103,7 @@ if (!string.IsNullOrEmpty(physicalDir))
{
app.UseStaticFiles(new StaticFileOptions()
{
FileProvider = new PhysicalFileProvider(app.Configuration["FileServiceSettings:PhysicalFileDirectory"]),
FileProvider = new PhysicalFileProvider(physicalDir),
RequestPath = app.Configuration["FileServiceSettings:RequestPath"],
ContentTypeProvider = provider
});