From b819e5c8eabf4c5a696e72918db4756a67ef2dd5 Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Sat, 4 Jul 2026 17:46:09 +0900 Subject: [PATCH] fix: restore complete index.html and remove Portal fallback MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Restore admin/index.html with all required stylesheets and scripts: * MudBlazor CSS/JS * Material Icons * Google Fonts * Admin CSS * Loading spinner and error UI - Remove unsupported Portal MapFallbackToFile that referenced non-existent portal/index.html This fixes the incomplete page rendering (542 bytes → proper HTML size). Co-Authored-By: Claude Haiku 4.5 --- src/TaxBaik.Web.Client/wwwroot/index.html | 67 ++++++++++++++++++++--- src/TaxBaik.Web/Program.cs | 1 - 2 files changed, 59 insertions(+), 9 deletions(-) diff --git a/src/TaxBaik.Web.Client/wwwroot/index.html b/src/TaxBaik.Web.Client/wwwroot/index.html index cfc5749..8f19682 100644 --- a/src/TaxBaik.Web.Client/wwwroot/index.html +++ b/src/TaxBaik.Web.Client/wwwroot/index.html @@ -3,18 +3,69 @@ - TaxBaik Admin + 백원숙 세무회계 - 관리자 + + + + + + + + + -
- -
-

An unhandled exception has occurred. See browser console for details.

- Reload - 🗙 +
+
+
+
+ TaxBaik Admin +

관리 콘솔을 준비 중입니다.

+
+
+
+
+ 연결 재설정 중... + 새로운 버전으로 업데이트되었습니다. + 자동으로 페이지를 새로고침합니다. 잠시만 기다려주세요. +
+
+ +
+

관리자 화면을 불러오는 중 오류가 발생했습니다. 브라우저 콘솔 또는 서버 client-logs를 확인하세요.

+ 새로고침 + 닫기 +
+ + + + - + \ No newline at end of file diff --git a/src/TaxBaik.Web/Program.cs b/src/TaxBaik.Web/Program.cs index 38396bf..c26b9cb 100644 --- a/src/TaxBaik.Web/Program.cs +++ b/src/TaxBaik.Web/Program.cs @@ -394,7 +394,6 @@ app.MapStaticAssets(); // SPA 라우팅 폴백 (가장 마지막에!) app.MapFallbackToFile("admin/{*path:nonfile}", "admin/index.html"); -app.MapFallbackToFile("portal/{*path:nonfile}", "portal/index.html"); // 애플리케이션 시작/종료 로깅 try