fix: restore complete index.html and remove Portal fallback
TaxBaik CI/CD / build-and-deploy (push) Has been cancelled
TaxBaik CI/CD / build-and-deploy (push) Has been cancelled
- 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 <noreply@anthropic.com>
This commit is contained in:
@@ -3,18 +3,69 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>TaxBaik Admin</title>
|
<title>백원숙 세무회계 - 관리자</title>
|
||||||
<base href="/taxbaik/admin/" />
|
<base href="/taxbaik/admin/" />
|
||||||
|
<link rel="icon" type="image/svg+xml" href="/taxbaik/favicon.svg" />
|
||||||
|
<link rel="alternate icon" href="/taxbaik/favicon.ico" />
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
|
||||||
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
|
||||||
|
<link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet" />
|
||||||
|
<link href="css/admin.css" rel="stylesheet" />
|
||||||
|
<script>
|
||||||
|
window.taxbaikAdminBuildVersion = 'unknown';
|
||||||
|
window.taxbaikAdminComponent = 'AdminWasmApp';
|
||||||
|
document.documentElement.classList.toggle(
|
||||||
|
'admin-login-route',
|
||||||
|
window.location.pathname.toLowerCase().endsWith('/admin/login'));
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app">
|
||||||
|
<div id="blazor-loading" class="blazor-loading-overlay show">
|
||||||
<div id="blazor-error-ui">
|
<div class="blazor-loading-spinner smartadmin-boot-card">
|
||||||
<p>An unhandled exception has occurred. See browser console for details.</p>
|
<div class="spinner"></div>
|
||||||
<a href="" class="reload">Reload</a>
|
<strong>TaxBaik Admin</strong>
|
||||||
<a class="dismiss">🗙</a>
|
<p>관리 콘솔을 준비 중입니다.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div id="components-reconnect-modal" class="admin-reconnect-modal">
|
||||||
|
<div class="admin-reconnect-card">
|
||||||
|
<strong>연결 재설정 중...</strong>
|
||||||
|
<span>새로운 버전으로 업데이트되었습니다.</span>
|
||||||
|
<span style="font-size: 0.85rem; margin-top: 0.5rem; opacity: 0.8;">자동으로 페이지를 새로고침합니다. 잠시만 기다려주세요.</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="blazor-error-ui">
|
||||||
|
<p>관리자 화면을 불러오는 중 오류가 발생했습니다. 브라우저 콘솔 또는 서버 client-logs를 확인하세요.</p>
|
||||||
|
<a href="" class="reload">새로고침</a>
|
||||||
|
<a class="dismiss">닫기</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script src="_content/MudBlazor/MudBlazor.min.js"></script>
|
||||||
|
<script src="js/admin-session.js"></script>
|
||||||
<script src="_framework/blazor.webassembly.js"></script>
|
<script src="_framework/blazor.webassembly.js"></script>
|
||||||
|
<script>
|
||||||
|
function initSession() {
|
||||||
|
if (window.taxbaikAdminSession) {
|
||||||
|
if (typeof window.taxbaikAdminSession.initErrorLogging === 'function') {
|
||||||
|
window.taxbaikAdminSession.initErrorLogging();
|
||||||
|
}
|
||||||
|
if (typeof window.taxbaikAdminSession.bindLoginForm === 'function') {
|
||||||
|
window.taxbaikAdminSession.bindLoginForm();
|
||||||
|
}
|
||||||
|
if (typeof window.taxbaikAdminSession.watchReconnect === 'function') {
|
||||||
|
window.taxbaikAdminSession.watchReconnect();
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
setTimeout(initSession, 50);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
initSession();
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -394,7 +394,6 @@ app.MapStaticAssets();
|
|||||||
|
|
||||||
// SPA 라우팅 폴백 (가장 마지막에!)
|
// SPA 라우팅 폴백 (가장 마지막에!)
|
||||||
app.MapFallbackToFile("admin/{*path:nonfile}", "admin/index.html");
|
app.MapFallbackToFile("admin/{*path:nonfile}", "admin/index.html");
|
||||||
app.MapFallbackToFile("portal/{*path:nonfile}", "portal/index.html");
|
|
||||||
|
|
||||||
// 애플리케이션 시작/종료 로깅
|
// 애플리케이션 시작/종료 로깅
|
||||||
try
|
try
|
||||||
|
|||||||
Reference in New Issue
Block a user