Skip to content

Commit 9275caf

Browse files
committed
chore : setAuthToken 에서 로그 수정
1 parent bc0e400 commit 9275caf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/utils/setAuthToken.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import { setCookie } from './cookies';
22

33
export function registerSetAuthToken() {
44
window.setAuthToken = (accessToken: string, refreshToken: string) => {
5+
console.log('setAuthToken 실행됨!', accessToken, refreshToken);
6+
57
const expires = new Date();
68
expires.setDate(expires.getDate() + 7);
79

@@ -20,9 +22,10 @@ export function registerSetAuthToken() {
2022
}
2123

2224
window.location.reload();
23-
console.log('setAuthToken 등록됨!');
2425
return 'SUCCESS';
2526
};
27+
28+
console.log('setAuthToken 등록됨!');
2629
}
2730

2831
export {};

0 commit comments

Comments
 (0)