Miglioramento abilitazione debugbar
This commit is contained in:
parent
279fe2eca9
commit
cfdbe43b17
|
@ -25,5 +25,8 @@ class AppServiceProvider extends ServiceProvider
|
|||
*/
|
||||
public function boot()
|
||||
{
|
||||
if(config('app.debug')) {
|
||||
\Debugbar::getJavascriptRenderer()->setAjaxHandlerAutoShow(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -38,8 +38,7 @@
|
|||
"laravel/framework": "^9.0",
|
||||
"laravel/tinker": "^2.5",
|
||||
"spatie/laravel-ignition": "^1.0",
|
||||
"symfony/polyfill-ctype": "^1.8",
|
||||
"symfony/polyfill-php70": "^1.8"
|
||||
"symfony/polyfill-ctype": "^1.8"
|
||||
},
|
||||
"require-dev": {
|
||||
"fakerphp/faker": "^1.9.1",
|
||||
|
|
|
@ -13,10 +13,9 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'enabled' => env('DEBUGBAR_ENABLED', null),
|
||||
'enabled' => config('app.debug'),
|
||||
'except' => [
|
||||
'telescope*',
|
||||
'horizon*',
|
||||
'hook/*',
|
||||
],
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue