Closed bolechen closed 5 years ago
https://github.com/KABBOUCHI/nova-logs-tool/blob/f1103d632ca8ae6377bc9bf8dd113b1e3dedb4d6/src/Http/Controllers/LogsController.php#L31
I saw this line have an pagesize config use the env helper, but when laravel run at production environment usually use php artisan config:cache, when the config is cached, the NOVA_LOGS_PER_PAGE config is not woks.
pagesize
env
php artisan config:cache
NOVA_LOGS_PER_PAGE
Ref is Laravel doc here https://laravel.com/docs/5.8/configuration#configuration-caching
https://github.com/KABBOUCHI/nova-logs-tool/blob/f1103d632ca8ae6377bc9bf8dd113b1e3dedb4d6/src/Http/Controllers/LogsController.php#L31
I saw this line have an
pagesize
config use theenv
helper, but when laravel run at production environment usually usephp artisan config:cache
, when the config is cached, theNOVA_LOGS_PER_PAGE
config is not woks.Ref is Laravel doc here https://laravel.com/docs/5.8/configuration#configuration-caching