diff --git a/src/Http/Controllers/LaravelOpenGraphImageController.php b/src/Http/Controllers/LaravelOpenGraphImageController.php index 41e7265..118e3b8 100644 --- a/src/Http/Controllers/LaravelOpenGraphImageController.php +++ b/src/Http/Controllers/LaravelOpenGraphImageController.php @@ -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)