Skip to content

Commit

Permalink
chore: resolved a bug where the host domain is not returned in cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienne-deriv committed Sep 24, 2024
1 parent 1a43c70 commit 52d000b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/scripts/cookie.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const getDomain = () => {
host_domain.includes(allowed_domain)
);

return matched_domain ?? domain;
return matched_domain ?? host_domain;
};

const eraseCookie = (name) => {
Expand Down

0 comments on commit 52d000b

Please sign in to comment.