fix cookie deletion
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
78edc9e0a3
commit
dace5237c8
@ -89,5 +89,5 @@ export function getURIData () {
|
||||
}
|
||||
|
||||
export function deleteAllCookies () {
|
||||
document.cookie.split(";").forEach(function(c) { document.cookie = c.replace(/^ +/, "").replace(/=.*/, "=;expires=" + new Date().toUTCString() + ";path=/"); });
|
||||
document.cookie.split(";").forEach(function(c) { document.cookie = c.replace(/^ +/, "").replace(/=.*/, "=;expires=" + new Date().toUTCString() + ";path=/;domain=.tronnet.net;"); });
|
||||
}
|
Loading…
Reference in New Issue
Block a user