diff --git a/docs/index.pug b/docs/index.pug index 133926c950..a1c0ecb06f 100644 --- a/docs/index.pug +++ b/docs/index.pug @@ -32,7 +32,7 @@ block content ```javascript // getting-started.js const mongoose = require('mongoose'); - mongoose.connect('mongodb://localhost/test', {useNewUrlParser: true}); + mongoose.connect('mongodb://localhost/test', {useNewUrlParser: true, useUnifiedTopology: true}); ``` We have a pending connection to the test database running on localhost.