Add standalone next routes for whatsapp and gmail, fix puppeteer alpine timeout
This commit is contained in:
parent
b24f1a6522
commit
6eda59bfa7
|
|
@ -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>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
@ -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>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue