feat: 에러 처리 개선 + 커스텀 확인 모달 + 관리자 테스트
- 에러 코드 기반 한국어 매핑 (8개 코드, parseError 개선) - window.confirm → 커스텀 ConfirmDialog (다크 테마, Promise 기반) - launch URL 파라미터 ticket → token 통일 - 관리자 테스트 27개 추가 (공지사항 12 + 다운로드 6 + 유저 9) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -36,7 +36,7 @@ export default function DownloadSection() {
|
||||
// JWT를 URL에 직접 노출하지 않고, 일회용 티켓을 발급받아 전달
|
||||
try {
|
||||
const ticket = await createLaunchTicket();
|
||||
window.location.href = 'a301://launch?ticket=' + encodeURIComponent(ticket);
|
||||
window.location.href = 'a301://launch?token=' + encodeURIComponent(ticket);
|
||||
} catch {
|
||||
// 티켓 발급 실패 시 로그인 유도
|
||||
navigate('/login');
|
||||
|
||||
Reference in New Issue
Block a user