diff --git a/src/utils.ts b/src/utils.ts index 3d55ab8fc65..3b26fa23e99 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -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 {