We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2ac536 commit eeb8232Copy full SHA for eeb8232
src/LfmStorageRepository.php
@@ -45,12 +45,10 @@ public function url($path)
45
{
46
$config = $this->disk->getConfig();
47
48
- if (key_exists('driver', $config) && $config['driver'] == 's3')
49
-
50
- $duration = $this->helper->config('s3.temporary_url_expiration');
+ if (key_exists('driver', $config) && $config['driver'] == 's3') {
+ $duration = $this->helper->config('temporary_url_duration');
51
return $this->disk->temporaryUrl($path, now()->addMinutes($duration));
52
53
- else {
+ } else {
54
return $this->disk->url($path);
55
}
56
0 commit comments