Change the default browser to fix pairing code

This commit is contained in:
Pokoke
2024-01-28 23:29:25 +07:00
committed by GitHub
parent daafc12275
commit c17198e1d0

View File

@@ -55,7 +55,7 @@ export const PROCESSABLE_HISTORY_TYPES = [
export const DEFAULT_CONNECTION_CONFIG: SocketConfig = {
version: version as WAVersion,
browser: Browsers.baileys('Chrome'),
browser: Browsers.ubuntu('Chrome'),
waWebSocketUrl: 'wss://web.whatsapp.com/ws/chat',
connectTimeoutMs: 20_000,
keepAliveIntervalMs: 30_000,