Fix whatsapp gateway websocket path to proxy correctly through Next.js
This commit is contained in:
parent
cafca3a4d1
commit
515a35c4f1
|
|
@ -1,4 +1,4 @@
|
|||
const socket = io();
|
||||
const socket = io({ path: '/proxy/whatsapp/socket.io' });
|
||||
|
||||
// UI Elements
|
||||
const statusBadge = document.getElementById('status-badge');
|
||||
|
|
|
|||
Loading…
Reference in New Issue