bradtraversy / storybooks

Node.js app with Google OAuth
MIT License
569 stars 891 forks source link

Updated MongoStore in app.js #34

Open biscuitdey opened 3 years ago

biscuitdey commented 3 years ago

Changed the MongoStore code as per new format

app.use(session({ secret: 'keyboard cat', resave: false, saveUninitialized: false, store: MongoStore.create({ mongoUrl: process.env.MONGO_URI }) }))

FinzyPHINZY commented 8 months ago

This is really important for new learners. Hopefully this is merged soon.