Skip to content

Commit

Permalink
Fix: set the old cookie to app.tegon.ai
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithmullapudi committed Nov 27, 2024
1 parent f165739 commit 15c8d08
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ export const recipeList = (
) => {
const isProd = process.env.NODE_ENV === 'production';
const cookieSettings = isProd
? { cookieDomain: '.tegon.ai', olderCookieDomain: '', cookieSecure: true }
? {
cookieDomain: '.tegon.ai',
olderCookieDomain: 'app.tegon.ai',
cookieSecure: true,
}
: {};

return [
Expand Down

0 comments on commit 15c8d08

Please sign in to comment.