DONE: add password on laravel log viewer

This commit is contained in:
ISMAIL MASSERAN
2026-09-28 16:26:50 +08:00
parent 3a86ba5b26
commit b8e3e2b369
7 changed files with 60 additions and 4 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
return [
'password' => env('LOGVIEWER_PASSWORD'),
/*
|--------------------------------------------------------------------------
| Pattern and storage path settings
|--------------------------------------------------------------------------
|
| The env key for pattern and storage path with a default value
|
*/
'max_file_size' => 52428800, // size in Byte
'pattern' => env('LOGVIEWER_PATTERN', '*.log'),
'storage_path' => env('LOGVIEWER_STORAGE_PATH', storage_path('logs')),
];