randydev commited on
Commit
cd076c5
·
verified ·
1 Parent(s): ea6331d

Update startup/lifestyle.js

Browse files
Files changed (1) hide show
  1. startup/lifestyle.js +1 -1
startup/lifestyle.js CHANGED
@@ -15,7 +15,7 @@ const startup = async () => {
15
  if (IsTelegramBot) {
16
  await InitBot();
17
  }
18
- mongoose.connect(`mongodb+srv://${UsernameDB}:${PasswordDB}@cluster0.mongodb.net/AkenoXJs?retryWrites=true&w=majority`, {
19
  useNewUrlParser: true,
20
  useUnifiedTopology: true
21
  });
 
15
  if (IsTelegramBot) {
16
  await InitBot();
17
  }
18
+ mongoose.connect(`mongodb+srv://${UsernameDB}:${PasswordDB}@cluster0.mongodb.net/AkenoXJs?retryWrites=true&w=majority&directConnection=true`, {
19
  useNewUrlParser: true,
20
  useUnifiedTopology: true
21
  });