fix(WEB): 알림 폴링 시 인증 에러 처리 및 토큰 자동 갱신

- ApiResponse 타입에 authError 플래그 추가
- today-issue.ts에 인증 에러 감지 로직 추가
- AuthenticatedLayout에서 authError 시 토큰 갱신 후 재시도
- 토큰 갱신 실패 시 폴링 중지하여 반복 에러 방지
This commit is contained in:
2026-01-22 19:51:24 +09:00
parent 390c1a8450
commit 14186d98c0
3 changed files with 102 additions and 6 deletions

View File

@@ -68,4 +68,6 @@ export interface ApiResponse<T> {
success: boolean;
message: string;
data: T;
/** 인증 에러 여부 (토큰 만료 등) */
authError?: boolean;
}