Skip to content

Commit

Permalink
add noSandbox option
Browse files Browse the repository at this point in the history
  • Loading branch information
markvaneijk committed Nov 23, 2022
1 parent 7e45afc commit c315176
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Http/Controllers/LaravelOpenGraphImageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public function ensureDirectoryExists()
public function getScreenshot($html, $filename)
{
return Browsershot::html($html)
->noSandbox()
->showBackground()
->windowSize($this->imageWidth, $this->imageHeight)
->setScreenshotType($this->getImageType(), $this->imageQuality)
Expand Down

0 comments on commit c315176

Please sign in to comment.