Add standalone next routes for whatsapp and gmail, fix puppeteer alpine timeout

This commit is contained in:
Antigravity 2026-06-13 22:37:08 -04:00
parent b24f1a6522
commit 6eda59bfa7
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,10 @@
"use client";
import GmailAgentUI from '../components/GmailAgentUI';
export default function GmailPage() {
return (
<div style={{ height: "100vh", width: "100vw", background: "#05070a", overflow: "auto", padding: "20px" }}>
<GmailAgentUI />
</div>
);
}

View File

@ -0,0 +1,10 @@
"use client";
import WhatsAppAgentUI from '../components/WhatsAppAgentUI';
export default function WhatsAppPage() {
return (
<div style={{ height: "100vh", width: "100vw", background: "#05070a", overflow: "hidden" }}>
<WhatsAppAgentUI />
</div>
);
}

View File

@ -26,6 +26,7 @@ const client = new Client({
}), }),
puppeteer: { puppeteer: {
headless: true, headless: true,
executablePath: '/usr/bin/chromium-browser',
args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-dev-shm-usage'], args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-dev-shm-usage'],
protocolTimeout: 120000, protocolTimeout: 120000,
timeout: 120000 timeout: 120000