fix cookie deletion
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
9d0e0db27d
commit
0740d65363
@ -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