Skip to content

Commit 22ea001

Browse files
committed
fix: remove timeout
1 parent e1c107b commit 22ea001

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ async function analyze (originalUrl) {
7575
})
7676
// https://github.com/puppeteer/puppeteer/blob/v2.1.0/docs/api.md#pagegotourl-options
7777
const response = await page.goto(originalUrl, {
78-
waitUntil: 'networkidle0',
79-
timeout: 5
78+
waitUntil: 'networkidle0'
8079
})
8180
if (!response.ok()) {
8281
const error = new Error(`Website responded with ${response.status()} status code`)

0 commit comments

Comments
 (0)