From 0740d65363778cbce6422a1633282faebd83d330 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Mon, 9 Jan 2023 15:16:24 -0800 Subject: [PATCH] fix cookie deletion Signed-off-by: Arthur Lu --- scripts/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utils.js b/scripts/utils.js index 8f154d5..f2279b9 100644 --- a/scripts/utils.js +++ b/scripts/utils.js @@ -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;"); }); } \ No newline at end of file