From ead92badc158d24047187b6c917f47fa538f8390 Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Sat, 4 Jul 2026 11:47:01 +0900 Subject: [PATCH] fix: remove redirect loop at root path --- src/TaxBaik.Web/Program.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/TaxBaik.Web/Program.cs b/src/TaxBaik.Web/Program.cs index 48c9687..5d74378 100644 --- a/src/TaxBaik.Web/Program.cs +++ b/src/TaxBaik.Web/Program.cs @@ -392,9 +392,6 @@ app.MapHealthChecks("/healthz"); app.MapRazorPages(); // Sitemap.cshtml, Rss.cshtml, Feed.cshtml app.MapStaticAssets(); -// 루트 경로 기본값 -app.MapGet("/", () => Results.Redirect("/taxbaik/")); - // SPA 라우팅 폴백 (가장 마지막에!) app.MapFallbackToFile("admin/{*path:nonfile}", "admin/index.html"); app.MapFallbackToFile("portal/{*path:nonfile}", "portal/index.html");