From: Daniel Karbach Date: Sat, 14 May 2022 13:51:10 +0000 (+0200) Subject: disable chromium sandbox X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=b20f23e77c13fe6c9e73bfd21f042b66efd56a30;p=alttp.git disable chromium sandbox because http process is not allowed to change security context --- diff --git a/app/Console/Commands/GenerateAosSeed.php b/app/Console/Commands/GenerateAosSeed.php index 77fd376..c51ce29 100644 --- a/app/Console/Commands/GenerateAosSeed.php +++ b/app/Console/Commands/GenerateAosSeed.php @@ -44,6 +44,7 @@ class GenerateAosSeed extends Command $url = config('aos.surge_url').'/?'.http_build_query($params, '', '&'); $fac = new BrowserFactory('chromium'); + $fac->addOptions(['noSandbox' => true]); $browser = $fac->createBrowser(); $stage = 'loading page';