test
parent
f5085a49b2
commit
17435f56e5
|
@ -48,7 +48,7 @@ export default function StoreCalendar() {
|
||||||
window.location.hostname
|
window.location.hostname
|
||||||
} path=/;`;
|
} path=/;`;
|
||||||
|
|
||||||
document.cookie = `token=${getUserSessionFromLocalStorage()}; max-age=604800;`;
|
document.cookie = `token=${getUserSessionFromLocalStorage()}; max-age=604800; path=/;`;
|
||||||
|
|
||||||
window.location.href = `${Constants.API_ADDRESS}/calendar/auth/google`;
|
window.location.href = `${Constants.API_ADDRESS}/calendar/auth/google`;
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in New Issue