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