We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 954a775 commit aa5f2cfCopy full SHA for aa5f2cf
1 file changed
src/server/db/mongo.js
@@ -29,7 +29,7 @@ export class Mongo {
29
* Connect to the instance.
30
*/
31
async connect() {
32
- const c = await this.client.connect(this.url);
+ const c = await this.client.connect(this.url, { useNewUrlParser: true });
33
this.db = c.db(this.dbname);
34
return;
35
}
0 commit comments