Skip to content

Commit

Permalink
add env to cookie name
Browse files Browse the repository at this point in the history
  • Loading branch information
prakashchoudhary07 committed Oct 12, 2023
1 parent 5a518ad commit a5a8b57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default {
},

userAccessToken: {
cookieName: `rcal-session`,
cookieName: `rcal-session-${NODE_ENV}`,
cookieDomain: '<cookie-domain>',
ttl: 30 * 24 * 60 * 60, // in seconds
refreshTtl: 180 * 24 * 60 * 60, // in seconds
Expand Down

0 comments on commit a5a8b57

Please sign in to comment.