new(whatsapp.gblib): New WhatsApp provider: Meta.
This commit is contained in:
parent
43bcb2ce15
commit
8d04829ea5
1 changed files with 2 additions and 1 deletions
|
@ -296,7 +296,8 @@ export class GBServer {
|
||||||
|
|
||||||
const options1 = {
|
const options1 = {
|
||||||
passphrase: process.env.CERTIFICATE_PASSPHRASE,
|
passphrase: process.env.CERTIFICATE_PASSPHRASE,
|
||||||
pfx: fs.readFileSync(process.env.CERTIFICATE_PFX)
|
pfx: fs.readFileSync(process.env.CERTIFICATE_PFX),
|
||||||
|
ca: fs.readFileSync(process.env.CERTIFICATE_CA)
|
||||||
};
|
};
|
||||||
|
|
||||||
const httpsServer = https.createServer(options1, server).listen(port, mainCallback);
|
const httpsServer = https.createServer(options1, server).listen(port, mainCallback);
|
||||||
|
|
Loading…
Add table
Reference in a new issue