🐛 Fix self-managed files hosting

This commit is contained in:
2025-11-21 22:27:27 +08:00
parent 7016a0a943
commit 2a35786204
4 changed files with 9 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ public class PublicationSiteManager(
)
{
private readonly string _basePath = Path.Combine(
hostEnvironment.WebRootPath,
hostEnvironment.ContentRootPath,
configuration["Sites:BasePath"]!.TrimStart('/')
);