Skip to content

Commit

Permalink
Merge pull request #5 from winter-ice/master
Browse files Browse the repository at this point in the history
Add plugin `TemporaryUrl`
  • Loading branch information
iiDestiny authored Apr 29, 2019
2 parents eacc167 + 1c3d708 commit ee50377
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
*.DS_Store
/vendor
/coverage
Expand Down
2 changes: 2 additions & 0 deletions src/OssStorageServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use Iidestiny\Flysystem\Oss\OssAdapter;
use Iidestiny\Flysystem\Oss\Plugins\FileUrl;
use Iidestiny\Flysystem\Oss\Plugins\SignUrl;
use Iidestiny\Flysystem\Oss\Plugins\TemporaryUrl;
use Iidestiny\Flysystem\Oss\Plugins\SignatureConfig;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Storage;
Expand Down Expand Up @@ -43,6 +44,7 @@ public function boot()

$filesystem->addPlugin(new FileUrl());
$filesystem->addPlugin(new SignUrl());
$filesystem->addPlugin(new TemporaryUrl());
$filesystem->addPlugin(new SignatureConfig());

return $filesystem;
Expand Down

0 comments on commit ee50377

Please sign in to comment.