From 3d0cf1132ceaf7afd2710c0ddd8b23b6293b07ef Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Fri, 3 Jul 2026 11:30:46 +0900 Subject: [PATCH] docs: clarify MapStaticAssets ordering requirement Add comment to document that MapStaticAssets must come before MapRazorComponents to ensure _framework/* WASM files are served. This is a documentation-only change; no behavior change. Co-Authored-By: Claude Haiku 4.5 --- src/TaxBaik.Web/Program.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/TaxBaik.Web/Program.cs b/src/TaxBaik.Web/Program.cs index 609e866..2e6889a 100644 --- a/src/TaxBaik.Web/Program.cs +++ b/src/TaxBaik.Web/Program.cs @@ -397,6 +397,8 @@ if (!app.Environment.IsDevelopment()) app.MapControllers(); app.MapHealthChecks("/healthz"); app.MapRazorPages(); + +// MapStaticAssets must come before MapRazorComponents to ensure _framework/* files are served app.MapStaticAssets(); // AllowAnonymous: JWT 미들웨어가 Blazor 셸 요청을 401로 차단하지 않도록 한다.