Skip to content

Commit

Permalink
Added additional driver for static support
Browse files Browse the repository at this point in the history
  • Loading branch information
KaniRobinson committed Sep 10, 2024
1 parent 2fd008f commit ca383ac
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions config/filesystems.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@

'default' => env('FILESYSTEM_DISK', 'local'),

/*
|--------------------------------------------------------------------------
| Nitro Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. The "local" disk, as well as a variety of cloud
| based disks are available to your application for file storage.
|
*/
'nitro' => env('NITRO_FILESYSTEM_DISK', 'local'),

/*
|--------------------------------------------------------------------------
| Filesystem Disks
Expand Down Expand Up @@ -43,6 +55,19 @@
'visibility' => 'public',
'throw' => false,
],

'static' => [
'driver' => env('NITRO_FILESYSTEM_DISK', 'local'),
'url' => env('NITRO_STATIC_URL'),
'bucket' => env('NITRO_BUCKET'),
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'auto'),
'endpoint' => env('AWS_ENDPOINT'),
'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
'visibility' => 'public',
'throw' => false,
],

'album1584' => [
'driver' => env('NITRO_FILESYSTEM_DISK', 'local'),
Expand Down

0 comments on commit ca383ac

Please sign in to comment.