This commit is contained in:
the-djmaze 2023-02-22 14:09:26 +01:00
parent bb77d0ae02
commit c83cf64b80
3 changed files with 9 additions and 5 deletions

View file

@ -37,8 +37,6 @@ try {
smctoken = encodeURIComponent(btoa(String.fromCharCode(...data)));
}
localStorage.setItem('smctoken', smctoken);
// doc.cookie = `smctoken=${smctoken};path=${doc.location.pathname};samesite=strict;secure";
// doc.cookie = 'smctoken='+smctoken+";path=/;samesite=lax";
doc.cookie = 'smctoken='+smctoken+";path=/;samesite=strict";
} catch (e) {
console.error(e);