Expand cookie to all domains *.diskfloppy.me

This commit is contained in:
Roscoe 2024-01-26 12:28:50 +00:00
parent 9f58d1e5b3
commit a1a8571873

View file

@ -29,7 +29,7 @@ function setCookie(cname, cvalue, exdays) {
const d = new Date();
d.setTime(d.getTime() + (exdays*24*60*60*1000));
let expires = "expires="+ d.toUTCString();
document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/;SameSite=Strict";
document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/;SameSite=Strict;Domain=.diskfloppy.me";
}
/**