diff --git a/src/index.js b/src/index.js index 35c9264..f184365 100644 --- a/src/index.js +++ b/src/index.js @@ -18,7 +18,7 @@ const prerender = async ( { getBrowserless, gotOptions, toEncode, ...opts } ) => { const fetchData = fetch(url, { toEncode, ...gotOptions }) - const browserless = await createBrowserless() + const browserless = await getBrowserless() let html try {