Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
added domain configuration option if required to set the cookie for a…
Browse files Browse the repository at this point in the history
… specific host
  • Loading branch information
lirantal committed Nov 3, 2014
1 parent 84efda1 commit 7174625
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/env/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ module.exports = {
secure: false,
// Only set the maxAge to null if the cookie shouldn't be expired
// at all. The cookie will expunge when the browser is closed.
maxAge: null
maxAge: null,
// To set the cookie in a specific domain uncomment the following
// setting:
// domain: 'yourdomain.com'
},

// The session cookie name
Expand Down

0 comments on commit 7174625

Please sign in to comment.