Skip to content

Commit 82de3a0

Browse files
committed
[#1717] Change mongo-connect configuration due to bug iwth mongodb+srv urls
1 parent 7f4e87a commit 82de3a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ app.use(session({
7979
secure: false,
8080
},
8181
store: new MongoStore({
82-
url: mongoConnectionString,
82+
mongooseConnection: mongoose.connection,
8383
autoReconnect: true
8484
})
8585
}));

0 commit comments

Comments
 (0)