We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc0e400 commit 9275cafCopy full SHA for 9275caf
src/utils/setAuthToken.ts
@@ -2,6 +2,8 @@ import { setCookie } from './cookies';
2
3
export function registerSetAuthToken() {
4
window.setAuthToken = (accessToken: string, refreshToken: string) => {
5
+ console.log('setAuthToken 실행됨!', accessToken, refreshToken);
6
+
7
const expires = new Date();
8
expires.setDate(expires.getDate() + 7);
9
@@ -20,9 +22,10 @@ export function registerSetAuthToken() {
20
22
}
21
23
24
window.location.reload();
- console.log('setAuthToken 등록됨!');
25
return 'SUCCESS';
26
};
27
28
+ console.log('setAuthToken 등록됨!');
29
30
31
export {};
0 commit comments