mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-25 16:26:25 +00:00
fix: Remove unnecessary cookie setting in removeCookie function
This commit is contained in:
parent
04819b88d6
commit
b42fa558f8
@ -302,6 +302,7 @@ export function setCookie(cName: string, cValue: string): void {
|
||||
|
||||
export function removeCookie(cName: string): void {
|
||||
document.cookie = `${cName}=;Secure;SameSite=Strict;Domain=${window.location.hostname};Path=/;Expires=Thu, 01 Jan 1970 00:00:00 GMT`;
|
||||
document.cookie = `${cName}=;Secure;SameSite=Strict;Path=/;Expires=Thu, 01 Jan 1970 00:00:00 GMT`;
|
||||
}
|
||||
|
||||
export function getCookie(cName: string): string {
|
||||
|
Loading…
Reference in New Issue
Block a user