test
This commit is contained in:
@@ -71,10 +71,7 @@ class PaymentSystemItem extends Model
|
||||
{
|
||||
if (!empty($this->logo)) {
|
||||
if (in_array(env('FILESYSTEM_DISK'), ['s3', 'minio'])) {
|
||||
return Storage::temporaryUrl(
|
||||
$this->logo,
|
||||
Date::now()->addMinutes(5)
|
||||
);
|
||||
return Storage::url($this->logo);
|
||||
}
|
||||
|
||||
return env('APP_URL').'/'.$this->logo;
|
||||
|
||||
Reference in New Issue
Block a user