diff --git a/config/filesystems.php b/config/filesystems.php index c5f244d7f..b564035a9 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -32,7 +32,8 @@ return [ 'local' => [ 'driver' => 'local', - 'root' => storage_path('app'), + 'root' => storage_path('app/private'), + 'serve' => true, 'throw' => false, ], diff --git a/storage/app/.gitignore b/storage/app/.gitignore index 8f4803c05..fedb287fe 100644 --- a/storage/app/.gitignore +++ b/storage/app/.gitignore @@ -1,3 +1,4 @@ * +!private/ !public/ !.gitignore diff --git a/storage/app/private/.gitignore b/storage/app/private/.gitignore new file mode 100644 index 000000000..d6b7ef32c --- /dev/null +++ b/storage/app/private/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore