From a9454e2e312759f58e62665bfd0a8c84a31f0fec Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Sat, 4 Jul 2026 14:03:44 +0900 Subject: [PATCH] fix: remove Portal MapRazorComponents registration (not implemented) Keep only Admin WASM client registration with correct namespace: - TaxBaik.WasmClient.Components.Admin.App - TaxBaik.WasmClient._Imports Remove Portal client registration since Portal.Client is not configured for WASM rendering. Co-Authored-By: Claude Haiku 4.5 --- src/TaxBaik.Web/Program.cs | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/TaxBaik.Web/Program.cs b/src/TaxBaik.Web/Program.cs index 266e2fe..4f59d64 100644 --- a/src/TaxBaik.Web/Program.cs +++ b/src/TaxBaik.Web/Program.cs @@ -393,15 +393,9 @@ app.MapRazorPages(); // Sitemap.cshtml, Rss.cshtml, Feed.cshtml app.MapStaticAssets(); // Blazor WebAssembly Admin Client -app.MapRazorComponents() +app.MapRazorComponents() .AddInteractiveWebAssemblyRenderMode() - .AddAdditionalAssemblies(typeof(TaxBaik.Web.Client._Imports).Assembly) - .AllowAnonymous(); - -// Portal WASM Client -app.MapRazorComponents() - .AddInteractiveWebAssemblyRenderMode() - .AddAdditionalAssemblies(typeof(TaxBaik.Portal.Client._Imports).Assembly) + .AddAdditionalAssemblies(typeof(TaxBaik.WasmClient._Imports).Assembly) .AllowAnonymous(); // SPA 라우팅 폴백 (가장 마지막에!) @@ -426,3 +420,4 @@ finally Log.Information("애플리케이션 종료"); Log.CloseAndFlush(); } +