You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Global-sales/wai-server/config/components/whatsapp.baileys.config.js

15 lines
339 B
JavaScript

'use strict';
const serverNodes = Array.from({ length: 2 }, (_, i) => ({
name: `wai-server-${i + 1}`,
// host: `ws://remote-websocket-service-${i + 1}.com`,
}));
const config = {
whatsappBaileys: serverNodes,
webhook: process.env.WEBHOOK_URL,
agentHosted: process.env.AGENT_PHONE_NO,
};
module.exports = config;