private files (#6450)

This commit is contained in:
Taylor Otwell 2024-09-11 15:12:40 -05:00 committed by GitHub
parent 168e685936
commit bab16982dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 1 deletions

View File

@ -32,7 +32,8 @@ return [
'local' => [ 'local' => [
'driver' => 'local', 'driver' => 'local',
'root' => storage_path('app'), 'root' => storage_path('app/private'),
'serve' => true,
'throw' => false, 'throw' => false,
], ],

View File

@ -1,3 +1,4 @@
* *
!private/
!public/ !public/
!.gitignore !.gitignore

2
storage/app/private/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*
!.gitignore