Commit 01e80f9
fix(web): 딥 링크 redirect 버그 수정
기존: #login 상태에서 URL을 #admin으로 변경 후 로그인 시 홈으로 이동
원인: redirectAfterLogin이 마운트 시점 hash 기준으로만 초기화되어
이후 hash 변경이 반영되지 않음
수정: hashchange 핸들러에서 비인증 상태 + 앱 route 진입 시
redirectAfterLogin을 함께 갱신
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 5739aec commit 01e80f9
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
183 | 191 | | |
184 | 192 | | |
185 | 193 | | |
| |||
0 commit comments