Fix admin WASM bootstrap and dashboard render
TaxBaik CI/CD / build-and-deploy (push) Successful in 6m10s
TaxBaik CI/CD / build-and-deploy (push) Successful in 6m10s
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user