refactor: storage directory scaffoling and save generated app key to file

This commit is contained in:
hackerESQ
2025-03-06 16:55:54 -06:00
parent 6dea75651b
commit 732cf02317
2 changed files with 15 additions and 6 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ return [
'cipher' => 'AES-256-CBC',
'key' => env('APP_KEY'),
'key' => env('APP_KEY') ?: when(file_exists('storage/app/.key'), fn () => trim(file_get_contents('storage/app/.key'))),
'previous_keys' => [
...array_filter(