Skip to content

Commit

Permalink
--hide-scrollbars
Browse files Browse the repository at this point in the history
  • Loading branch information
mfix22 committed Feb 21, 2022
1 parent 9632569 commit 0ee06a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/image/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default async function id(req, res) {
}

const browser = await puppeteer.launch({
args: chrome.args,
args: [...chrome.args, '--hide-scrollbars'],
defaultViewport: chrome.defaultViewport,
executablePath: await chrome.executablePath,
headless: chrome.headless,
Expand Down

0 comments on commit 0ee06a9

Please sign in to comment.