From 57c44065017dded28b04cf5bfb0c2950437f4d32 Mon Sep 17 00:00:00 2001 From: Shreyaschorge Date: Wed, 24 Aug 2022 15:32:29 +0530 Subject: [PATCH] increased timeout --- api/image.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/image.ts b/api/image.ts index dc260800..7d0b3a62 100644 --- a/api/image.ts +++ b/api/image.ts @@ -25,7 +25,7 @@ export default async (req: NextApiRequest, res: NextApiResponse) => { const url = req.query.path as string await page.goto(url, { - timeout: 15 * 1000, + timeout: 30 * 1000, waitUntil: "networkidle" })