Skip to content

Commit d98cf8b

Browse files
[8.x] Use different config key for overriding temporary url host in AwsTemporaryUrl method (#36612)
* Use different config key for overriding temporary url host * Update FilesystemAdapter.php Co-authored-by: Taylor Otwell <[email protected]>
1 parent c02e325 commit d98cf8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Filesystem/FilesystemAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ public function getAwsTemporaryUrl($adapter, $path, $expiration, $options)
601601
// If an explicit base URL has been set on the disk configuration then we will use
602602
// it as the base URL instead of the default path. This allows the developer to
603603
// have full control over the base path for this filesystem's generated URLs.
604-
if (! is_null($url = $this->driver->getConfig()->get('url'))) {
604+
if (! is_null($url = $this->driver->getConfig()->get('temporary_url'))) {
605605
$uri = $this->replaceBaseUrl($uri, $url);
606606
}
607607

0 commit comments

Comments
 (0)