++ poter inviare un msg telegram ai appartenenti ai Circuiti RIS.

This commit is contained in:
Surya Paolo
2024-04-23 22:47:20 +02:00
parent 68b4403138
commit 49ecb3edea
14 changed files with 831 additions and 9 deletions

View File

@@ -38,6 +38,8 @@ let options = {
// keepAliveInitialDelay: 300000 // keepAliveInitialDelay is the number of milliseconds to wait before initiating keepAlive on the socket.
};
console.log('process.env.AUTH_MONGODB', process.env.AUTH_MONGODB);
if (process.env.AUTH_MONGODB === '1') {
options.auth = {
authSource: "admin",