diff --git a/config/filesystems.php b/config/filesystems.php index d575778..ed2dd22 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -55,9 +55,10 @@ 'url' => env('AWS_URL'), 'endpoint' => env('AWS_ENDPOINT'), 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false), - 'root' => env('AWS_BUCKET_ROOT'), + 'root' => (string) env('AWS_BUCKET_ROOT'), 'throw' => false, ], + 's3-public' => [ 'driver' => 's3', 'key' => env('AWS_ACCESS_KEY_ID'), @@ -68,7 +69,7 @@ 'endpoint' => env('AWS_ENDPOINT'), 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false), 'throw' => false, - 'root' => env('AWS_BUCKET_PUBLIC_ROOT'), + 'root' => (string) env('AWS_BUCKET_PUBLIC_ROOT'), 'visibility' => 'public', ],