chore: default wa_gateway_type=gowa (baileys dilepas) + README

This commit is contained in:
oxpoe
2026-10-13 03:47:32 +07:00
parent 0f612df70f
commit cb60ceec10
10 changed files with 19 additions and 19 deletions

View File

@@ -108,7 +108,7 @@ async function checkDependencies() {
// 3. Check WhatsApp Gateway (GoWA / Baileys sesuai setting wa_gateway_type)
try {
const { getSetting } = require('../config/settingsManager');
const gw = String(getSetting('wa_gateway_type', 'baileys') || 'baileys').toLowerCase();
const gw = String(getSetting('wa_gateway_type', 'gowa') || 'baileys').toLowerCase();
if (gw === 'gowa') {
const base = String(getSetting('gowa_base_url', 'http://127.0.0.1:3000') || '').replace(/\/+$/, '');
const u = getSetting('gowa_username', '');