Fix proof cookie domain
This commit is contained in:
parent
0257bdc212
commit
8eacc80249
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ function get_cookie(name) {
|
|||
return parts.pop().split(";").shift();
|
||||
}
|
||||
function submit_proof(proof) {
|
||||
document.cookie = "mesozoa-proof="+proof+"; domain=127.0.0.1; path=/; max-age=3600; samesite=strict";
|
||||
document.cookie = "mesozoa-proof="+proof+"; domain="+window.location.hostname+"; path=/; max-age=3600; samesite=strict";
|
||||
window.location.reload();
|
||||
}
|
||||
function timeout(ms) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue