Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
ezralazuardy committed May 2, 2024
1 parent 6e9ff45 commit c5e5fc7
Show file tree
Hide file tree
Showing 3 changed files with 295 additions and 1 deletion.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"laravel/sanctum": "^3.3",
"laravel/telescope": "^4.17",
"laravel/tinker": "^2.8",
"league/flysystem-aws-s3-v3": "^3.0",
"livewire/livewire": "^3.0",
"maatwebsite/excel": "^3.1",
"predis/predis": "^2.2",
Expand Down
282 changes: 281 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions config/filesystems.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,19 @@
'throw' => false,
],

'r2' => [
'driver' => 's3',
'key' => env('CLOUDFLARE_R2_ACCESS_KEY_ID'),
'secret' => env('CLOUDFLARE_R2_SECRET_ACCESS_KEY'),
'region' => 'us-east-1',
'bucket' => env('CLOUDFLARE_R2_BUCKET'),
'url' => env('CLOUDFLARE_R2_URL'),
'visibility' => 'private',
'endpoint' => env('CLOUDFLARE_R2_ENDPOINT'),
'use_path_style_endpoint' => env('CLOUDFLARE_R2_USE_PATH_STYLE_ENDPOINT', false),
'throw' => false,
],

],

/*
Expand Down

0 comments on commit c5e5fc7

Please sign in to comment.