Fix socket.io proxying and remove gmail package lock

This commit is contained in:
Antigravity 2026-06-13 22:22:13 -04:00
parent 4ace103937
commit 05ae58ccb8
3 changed files with 5 additions and 1991 deletions

File diff suppressed because it is too large Load Diff

View File

@ -3,6 +3,10 @@ const nextConfig = {
reactStrictMode: true, reactStrictMode: true,
async rewrites() { async rewrites() {
return [ return [
{
source: '/socket.io/:path*',
destination: 'http://whatsapp-gateway.ai-agents.svc.cluster.local:5001/socket.io/:path*'
},
{ {
source: '/proxy/whatsapp/:path*', source: '/proxy/whatsapp/:path*',
destination: 'http://whatsapp-gateway.ai-agents.svc.cluster.local:5001/:path*' destination: 'http://whatsapp-gateway.ai-agents.svc.cluster.local:5001/:path*'

View File

@ -1,4 +1,4 @@
const socket = io({ path: '/proxy/whatsapp/socket.io' }); const socket = io();
// UI Elements // UI Elements
const statusBadge = document.getElementById('status-badge'); const statusBadge = document.getElementById('status-badge');