Fix admin routing and Playwright smoke checks
TaxBaik CI/CD / build-and-deploy (push) Successful in 5m22s

This commit is contained in:
2026-07-04 23:07:16 +09:00
parent fd5178b118
commit 7002d50a4e
30 changed files with 95 additions and 59 deletions
+12 -1
View File
@@ -1,3 +1,14 @@
// Debug 환경에서 .pdb 파일 요청 차단 (WASM 부팅 최적화)
if (window.taxbaikBlockPdb) {
const originalFetch = window.fetch;
window.fetch = function(url, ...args) {
if (typeof url === 'string' && url.includes('.pdb')) {
return Promise.reject(new TypeError('Blocked: pdb'));
}
return originalFetch.apply(window, [url, ...args]);
};
}
window.taxbaikAdminSession = {
clientLogState: {
enabled: true,
@@ -348,7 +359,7 @@ window.taxbaikAdminSession = {
// Blazor가 대시보드 페이지를 로드할 때 CustomAuthenticationStateProvider가
// 자동으로 localStorage에서 토큰을 복원합니다
setTimeout(() => {
window.location.href = '/admin/dashboard';
window.location.href = '/taxbaik/admin/dashboard';
}, 200);
} catch (error) {
window.taxbaikAdminSession.traceUiState('admin-login', `submit failed: ${error?.message || 'login failed'}`);