docs: clarify MapStaticAssets ordering requirement
TaxBaik CI/CD / build-and-deploy (push) Successful in 3m47s
TaxBaik CI/CD / build-and-deploy (push) Successful in 3m47s
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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로 차단하지 않도록 한다.
|
||||
|
||||
Reference in New Issue
Block a user