Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
dnyall authored Nov 19, 2024
1 parent 4678604 commit 9776d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
function setCookie(name, value, days) {
const date = new Date();
date.setTime(date.getTime() + days * 24 * 60 * 60 * 1000);
document.cookie = `${name}=${value};path=/;expires=${date.toUTCString()}`;
document.cookie = `${name}=${value};path=/;expires=${date.toUTCString()};SameSite=Lax`;
}

async function detectAndRedirect() {
Expand Down

0 comments on commit 9776d12

Please sign in to comment.