Skip to content

Commit

Permalink
chore: revert old cookie tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed May 13, 2017
1 parent f85a32e commit b9bf910
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ app.connect = function (callback) {
app.use(cookieSession({
keys: ['jsbin'],
cookie: {
secure: false, // allows cookie to be exchanged across http + https on purpose
maxAge: 365 * 24 * 60 * 60 * 1000,
// the domain must contain a dot and should not have a port
domain: app.get('url host').indexOf('.') === -1 ? undefined : '.' + app.get('url host').replace(/:\d+$/, '')
Expand Down

0 comments on commit b9bf910

Please sign in to comment.