master
alex 2024-01-14 20:29:36 +01:00
parent 6a331cde8f
commit f5509b573a
1 changed files with 2 additions and 2 deletions

View File

@ -38,11 +38,11 @@ export default function StoreCalendar() {
<h1>{t("calendar.pageTitle")}</h1>
<Button
href={`${Constants.API_ADDRESS}/calendar/auth/google`}
//href={`${Constants.API_ADDRESS}/calendar/auth/google`}
onClick={() => {
const date = new Date();
date.setTime(date.getTime() + 5 * 60 * 1000);
date.setTime(date.getTime() + 5 * 60 * 1000); // 5 minutes
document.cookie = `session=${getUserSessionFromLocalStorage()}; expires=${date.toUTCString()}; domain=${
window.location.hostname