We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4ec9a4 commit 3b6d77eCopy full SHA for 3b6d77e
app-init.js
@@ -52,7 +52,7 @@ function getMongoDbConnectionString () {
52
53
const useAuth = user && password;
54
55
- return `mongodb://${useAuth ? `${user}:${password}@` : ''}${host}:${port}/sessions${authSource ? `?authSource=${authSource}&directConnection=true` : ''}`;
+ return `mongodb://${useAuth ? `${user}:${password}@` : ''}${host}:${port}/sessions${authSource ? `?authSource=${authSource}` : ''}`;
56
}
57
58
const url = getMongoDbConnectionString();
0 commit comments