Update whatsappLink.js
To use Chromium profiles, and connect more than 1 whatsapp account.
This commit is contained in:
parent
4f398119e9
commit
5a3e1d62c4
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user