diff --git a/src/TaxBaik.Web/Program.cs b/src/TaxBaik.Web/Program.cs index 5f28d0e..b710050 100644 --- a/src/TaxBaik.Web/Program.cs +++ b/src/TaxBaik.Web/Program.cs @@ -394,10 +394,8 @@ app.MapHealthChecks("/healthz"); app.MapRazorPages(); // Sitemap.cshtml, Rss.cshtml, Feed.cshtml app.MapStaticAssets(); -// Blazor WebAssembly Admin Client (blazor.boot.json 생성 필수) -app.MapRazorComponents() - .AddInteractiveWebAssemblyRenderMode() - .AllowAnonymous(); +// 루트 경로 기본값 +app.MapGet("/", () => Results.Redirect("/taxbaik/")); // SPA 라우팅 폴백 (가장 마지막에!) app.MapFallbackToFile("admin/{*path:nonfile}", "admin/index.html");