fix: add ApiClient__BaseUrl environment variable for Dashboard API calls
TaxBaik CI/CD / build-and-deploy (push) Failing after 52s

PROBLEM: Dashboard page was stuck loading forever
ROOT CAUSE:
- AdminDashboardClient requires ApiClient:BaseUrl configuration
- deploy_gb.sh was missing ApiClient__BaseUrl environment variable
- HttpClient had no BaseAddress, causing all API calls to fail

SOLUTION:
- Remove timeout bandaid from App.razor
- Add ApiClient__BaseUrl to deploy_gb.sh environment variables
- API requests will now properly route to http://127.0.0.1:${TARGET_PORT}/taxbaik/api/

EXPECTED RESULT:
- Dashboard API calls succeed
- Dashboard page loads normally
- Blog management page becomes clickable

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-07-03 16:35:36 +09:00
parent 76872dfb72
commit f08efb1a6d
2 changed files with 1 additions and 12 deletions
@@ -42,18 +42,6 @@
if (!document.documentElement.classList.contains('admin-login-route')) {
var loadingOverlay = document.getElementById('blazor-loading');
if (loadingOverlay) loadingOverlay.classList.add('show');
// WASM 부팅 타임아웃 (30초): 강제로 로딩 숨김
window._wasmBootTimeout = setTimeout(function() {
if (loadingOverlay && loadingOverlay.classList.contains('show')) {
console.warn('[Admin] WASM boot timeout - forcing hideLoading');
if (window.taxbaikAdminSession && window.taxbaikAdminSession.hideLoading) {
window.taxbaikAdminSession.hideLoading();
} else {
loadingOverlay.classList.remove('show');
}
}
}, 30000); // 30초 후 강제 숨김
}
</script>
<MudThemeProvider @bind-IsDarkMode="isDarkMode" Theme="mudTheme" />