fix: standardize upload request path and handle null storage path in URL generation

This commit is contained in:
ShiYu
2025-05-20 00:04:14 +08:00
parent 1ebe7b9e6c
commit 09a05706c7
3 changed files with 6 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ public static class ApplicationBuilderExtensions
app.UseStaticFiles(new StaticFileOptions
{
FileProvider = new PhysicalFileProvider(uploadsPath),
RequestPath = "/uploads"
RequestPath = "/Uploads"
});
}