fix: do not publish manifest.json to static files folder.

This commit is contained in:
lchen committed 2026-10-21 14:57:52 +08:00
1 parent 5c81ed18b2
commit 27623a4e93
4 files changed
+16 -18

No files matched your search

@@ -109,7 +109,7 @@ class PageExceptionFilterAttribute : ExceptionFilterAttribute
var helper = context.HttpContext.RequestServices.GetRequiredService<ViteHelper>();
var html = await helper.RenderAsync(
context.HttpContext.Request.PathBase,
"Templates/error.html",
"error.html",
"src/pages/error.ts",
new ApiErrorResult(errorCode, errorMessage),
new() { ["Title"] = "Error Page" });
@@ -15,7 +15,7 @@ public class DefaultController(ViteHelper vite) : SiteControllerBase(vite)
var html = await viteHelper.RenderAsync(
Request.PathBase,
"Templates/main.html",
"main.html",
"src/main.ts",
new() { ["Title"] = "Home Page" });