File manager - Edit - /var/www/payraty/helpdesk/config/ssr.php
Back
<?php return [ /* * Enable or disable the server renderer. Enabled in production by default. */ 'enabled' => true, /* * When server side rendering goes wrong, nothing will be rendered so the * client script can render everything from scratch without errors. If * `debug` is enabled, an exception will be thrown when the JavaScript can't * be executed. */ 'debug' => env('APP_DEBUG', false), /* * Set to true if you're using Laravel Mix, then you can pass a script * identifier to `ssr` instead of a full path. */ 'mix' => false, /* * The engine class is used to execute JavaScript. Node requires you to set * up some extra configuration below. If you want to use the V8 engine, make * sure the v8js php extension is available. */ 'engine' => env('SSR_ENGINE', \Spatie\Ssr\Engines\Node::class), /* * Extra setup for the Node engine. */ 'node' => [ 'node_path' => env('NODE_PATH', '/usr/local/bin/node'), 'temp_path' => env('SSR_TEMP_PATH', storage_path('app/ssr')), ], /* * Context is used to pass data to the server script. Fill this array with * data you *always* want to send to the server script. Context can contain * anything that's json serializable. */ 'context' => [], /* * Env is used to fill `process.env` when the server script is executed. * Fill this array with data you *always* want to send to the server script. * The env array is only allowed to be a single level deep, and can only * contain primitive values like numbers, strings or booleans. * * By default, env is prefilled with some necessary values for server side * rendering Vue applications. */ 'env' => [ 'NODE_ENV' => 'production', 'VUE_ENV' => 'server', ], ];
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings