This commit is contained in:
2023-04-27 05:47:23 +10:00
parent 41c751a76d
commit 382a1d0ef8
2 changed files with 20 additions and 16 deletions

View File

@@ -35,19 +35,22 @@ return [
],
'cdn' => [
'driver' => 's3',
'key' => env('AWS_PUBLIC_ACCESS_KEY_ID'),
'secret' => env('AWS_PUBLIC_SECRET_ACCESS_KEY'),
'region' => env('AWS_PUBLIC_DEFAULT_REGION'),
'bucket' => env('AWS_PUBLIC_BUCKET'),
'url' => env('AWS_PUBLIC_URL'),
'endpoint' => env('AWS_PUBLIC_ENDPOINT'),
'use_path_style_endpoint' => env('AWS_PUBLIC_USE_PATH_STYLE_ENDPOINT', false),
'throw' => false,
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL') . "/storage",
// 'driver' => 's3',
// 'key' => env('AWS_PUBLIC_ACCESS_KEY_ID'),
// 'secret' => env('AWS_PUBLIC_SECRET_ACCESS_KEY'),
// 'region' => env('AWS_PUBLIC_DEFAULT_REGION'),
// 'bucket' => env('AWS_PUBLIC_BUCKET'),
// 'url' => env('AWS_PUBLIC_URL'),
// 'endpoint' => env('AWS_PUBLIC_ENDPOINT'),
// 'use_path_style_endpoint' => env('AWS_PUBLIC_USE_PATH_STYLE_ENDPOINT', false),
// 'throw' => false,
'public' => true,
'options' => [
'ACL' => '',
]
// 'options' => [
// 'ACL' => '',
// ]
],
'private' => [