Fix admin routing and Playwright smoke checks
TaxBaik CI/CD / build-and-deploy (push) Successful in 5m22s
TaxBaik CI/CD / build-and-deploy (push) Successful in 5m22s
This commit is contained in:
@@ -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'}`);
|
||||
|
||||
Reference in New Issue
Block a user