Skip to content

Commit 0c6f07a

Browse files
committed
[add]: cookie all cookie check
1 parent b96a0de commit 0c6f07a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/Layout/RootLayout/RootLayout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import Cookies from 'js-cookie';
1212
const RootLayout = () => {
1313
const { accessToken, uuid } = useAuthStore((state) => state);
1414
const cookieToken = Cookies.get('AUTH');
15+
const allCookies = Cookies.get();
1516
const maskToken = (token: string | null) => {
1617
if (!token) return '';
1718
if (token.length <= 12) return token;
@@ -26,6 +27,7 @@ const RootLayout = () => {
2627
<div>
2728
<div className={styles.Token}>Token: {maskToken(accessToken)}</div>
2829
<div className={styles.Token}>CookieToken: {cookieToken || '없음'}</div>
30+
<div className={styles.Token}>allCookie: {JSON.stringify(allCookies) || '올쿠키'}</div>
2931
<div>uuid: {uuid}</div>
3032
<button onClick={() => showiOSInfo(`${accessToken},uuid:${uuid}`)}>
3133
확인

0 commit comments

Comments
 (0)