Skip to content

Commit

Permalink
add default expires time (#39)
Browse files Browse the repository at this point in the history
Co-authored-by: weitianshu <weitianshu@linhuiba.com>
  • Loading branch information
Tabll and weitianshu committed Jun 17, 2020
1 parent 645f7bd commit b53f805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Adapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public function getUrl($path)

/** @var \GuzzleHttp\Psr7\Uri $objectUrl */
$objectUrl = $this->client->getObjectUrl(
$this->getBucketWithAppId(), $path, null, $options
$this->getBucketWithAppId(), $path, "+30 minutes", $options
);

return (string) $objectUrl;
Expand Down

0 comments on commit b53f805

Please sign in to comment.