Skip to content

Commit

Permalink
Update cookieDomain environment variable in nuxt.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
guillecro committed Dec 13, 2024
1 parent 17eccc0 commit 3f3735f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default defineNuxtConfig({
headerName: 'Authorization',
maxAgeInSeconds: 172800, // 2days
sameSiteAttribute: 'lax',
cookieDomain: process.env.NUXT_PUBLIC_API_URL || 'http://localhost:4000',
cookieDomain: process.env.NUXT_COOKIE_DOMAIN || 'http://localhost:4000',
secureCookieAttribute: process.env.NODE_ENV === 'production' ? true : false,
httpOnlyCookieAttribute: false,
},
Expand Down

0 comments on commit 3f3735f

Please sign in to comment.