api 재활용2

This commit is contained in:
wallace
2025-11-28 14:27:35 +09:00
parent c91dd4a30f
commit c021303182
2 changed files with 6 additions and 6 deletions

View File

@@ -38,7 +38,7 @@ export default function LoginPage() {
.split('; ')
.find(row => row.startsWith('token='))
?.split('=')[1];
if (savedToken && cookieToken && savedToken === cookieToken) {
// 토큰이 유효한지 확인
apiService.getCurrentUser()