Skip to content

Commit

Permalink
fix(function): pass timeout down
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Sep 12, 2024
1 parent 9f7ca79 commit 7920429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/function/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports =
const browserless = await browser.createContext()

return browserless.withPage((page, goto) => async () => {
const { device } = await goto(page, { url, ...gotoOpts })
const { device } = await goto(page, { url, timeout, ...gotoOpts })
const result = await runFunction({
url,
code: stringify(fn),
Expand Down

0 comments on commit 7920429

Please sign in to comment.