Skip to content

Commit

Permalink
increased timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Shreyaschorge committed Aug 24, 2022
1 parent 80fd8e1 commit 57c4406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
})

Expand Down

0 comments on commit 57c4406

Please sign in to comment.