Files
My-KOPKB/be/config/browsershot.php
T

37 lines
1.0 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Node / Puppeteer paths
|--------------------------------------------------------------------------
|
| Browsershot shells out to Node and uses Puppeteer from node_modules.
| node_module_path should point to the directory that contains node_modules/.
|
*/
'node_binary' => env('BROWSERSHOT_NODE_BINARY'),
'npm_binary' => env('BROWSERSHOT_NPM_BINARY'),
'node_module_path' => env('BROWSERSHOT_NODE_MODULE_PATH', base_path()),
'chrome_path' => env('BROWSERSHOT_CHROME_PATH'),
/*
|--------------------------------------------------------------------------
| Chrome sandbox
|--------------------------------------------------------------------------
|
| Disable sandbox in Docker/Linux containers where Chrome cannot run sandboxed.
|
*/
'no_sandbox' => env('BROWSERSHOT_NO_SANDBOX', false),
'timeout' => (int) env('BROWSERSHOT_TIMEOUT', 60),
];