Update whatsappLink.js

To use Chromium profiles, and connect more than 1 whatsapp account.
This commit is contained in:
Odair Victoriano 2023-03-04 22:30:34 -03:00 committed by GitHub
parent 4f398119e9
commit 5a3e1d62c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ module.exports = function(RED) {
}),
puppeteer : {
headless : true,
args : ['--no-sandbox', '--disable-setuid-sandbox']
args : ['--no-sandbox', '--disable-setuid-sandbox', '--user-data-dir=' + node.id]
}
});
@ -263,4 +263,4 @@ Participants : ${chat.groupMetadata.size}`
}
RED.nodes.registerType("whatsappLink",RemoteClientNode);
}
}