Skip to content

Commit

Permalink
Support custom endpoint (#24)
Browse files Browse the repository at this point in the history
Add custom endpoint
  • Loading branch information
mpanius authored Mar 29, 2022
1 parent 695f952 commit f89dd6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Http/Controllers/UploadController.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ private function init($request)
'key' => config("filesystems.disks.{$this->tool->disk}.key"),
'secret' => config("filesystems.disks.{$this->tool->disk}.secret"),
],
'endpoint' => config("filesystems.disks.{$this->tool->disk}.endpoint"),
'use_path_style_endpoint' => config("filesystems.disks.{$this->tool->disk}.use_path_style_endpoint"),
'region' => config("filesystems.disks.{$this->tool->disk}.region"),
'version' => 'latest',
]);
Expand Down

0 comments on commit f89dd6a

Please sign in to comment.