Fix admin WASM bootstrap and dashboard render
TaxBaik CI/CD / build-and-deploy (push) Successful in 6m10s

This commit is contained in:
2026-07-08 01:45:55 +09:00
parent f2f4769460
commit 8bd100707a
5 changed files with 13 additions and 62 deletions
-6
View File
@@ -476,12 +476,6 @@ app.MapHealthChecks("/healthz");
app.MapRazorPages(); // Sitemap.cshtml, Rss.cshtml, Feed.cshtml
app.MapStaticAssets();
// Blazor WebAssembly - 관리자 앱은 /taxbaik/admin 아래에서만 렌더링
app.MapGroup("/taxbaik/admin")
.MapRazorComponents<TaxBaik.WasmClient.Components.Admin.App>()
.AddInteractiveWebAssemblyRenderMode()
.AllowAnonymous();
// SPA 라우팅 폴백
app.MapFallbackToFile("admin/{*path:nonfile}", "admin/index.html");
app.MapFallbackToFile("portal/{*path:nonfile}", "portal/index.html");