Skip to content

Commit d7683e8

Browse files
authored
fix: s3 root (#206)
1 parent b1f4d42 commit d7683e8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

config/filesystems.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,10 @@
5555
'url' => env('AWS_URL'),
5656
'endpoint' => env('AWS_ENDPOINT'),
5757
'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
58-
'root' => env('AWS_BUCKET_ROOT'),
58+
'root' => (string) env('AWS_BUCKET_ROOT'),
5959
'throw' => false,
6060
],
61+
6162
's3-public' => [
6263
'driver' => 's3',
6364
'key' => env('AWS_ACCESS_KEY_ID'),
@@ -68,7 +69,7 @@
6869
'endpoint' => env('AWS_ENDPOINT'),
6970
'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
7071
'throw' => false,
71-
'root' => env('AWS_BUCKET_PUBLIC_ROOT'),
72+
'root' => (string) env('AWS_BUCKET_PUBLIC_ROOT'),
7273
'visibility' => 'public',
7374
],
7475

0 commit comments

Comments
 (0)