Comparing sensitive data, confidential files or internal emails?

Most legal and privacy policies prohibit uploading sensitive data online. Diffchecker Desktop ensures your confidential information never leaves your computer. Work offline and compare documents securely.

connect-mongo @3 -> @4

Created Diff never expires
3 removals
10 lines
3 additions
10 lines
const MongoStore = require('connect-mongo')(session)
const MongoStore = require('connect-mongo')


app.use(session({
app.use(session({
secret: 'shhhhhhhhhhhhhhht',
secret: 'shhhhhhhhhhhhhhht',
resave: false,
resave: false,
saveUninitialized: true,
saveUninitialized: true,
store: new MongoStore({
store: MongoStore.create({
mongooseConnection: mongoose.connection,
mongoUrl: process.env.MONGODB_URI,
})
})
}))
}))