diff --git a/config/filesystems.php b/config/filesystems.php index 99e1c77..3e962a0 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -99,7 +99,8 @@ */ 'links' => [ - public_path('storage') => env('FILESYSTEM_FILE_ROOT', storage_path('app/public')), + public_path('storage') => env('APP_ENV') === 'production' + ? env('FILESYSTEM_FILE_ROOT', storage_path('app/public')) + : storage_path('app/public'), ], - ];