Created
January 29, 2018 21:06
-
-
Save dance2die/1f214f773f0661f8e3ac6f5a4327400d to your computer and use it in GitHub Desktop.
cookie.secure => 'auto'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.use( | |
session({ | |
secret: "some secret", | |
resave: true, | |
saveUninitialized: true, | |
cookie: { | |
secure: 'auto' | |
} | |
}) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment