Spaces:
Running
Running
new try
Browse files- hooks/useUser.ts +1 -1
hooks/useUser.ts
CHANGED
|
@@ -76,7 +76,7 @@ export const useUser = (initialData?: {
|
|
| 76 |
|
| 77 |
setToken(res.data.access_token, {
|
| 78 |
expires: expiresDate,
|
| 79 |
-
path: '/
|
| 80 |
sameSite: 'lax',
|
| 81 |
secure: window.location.protocol === 'https:',
|
| 82 |
});
|
|
|
|
| 76 |
|
| 77 |
setToken(res.data.access_token, {
|
| 78 |
expires: expiresDate,
|
| 79 |
+
path: '/',
|
| 80 |
sameSite: 'lax',
|
| 81 |
secure: window.location.protocol === 'https:',
|
| 82 |
});
|