This commit is contained in:
2026-04-16 04:05:10 +05:00
parent eea40876a4
commit 2ba5677c45
18 changed files with 35 additions and 84 deletions

View File

@@ -46,10 +46,7 @@ class Slider extends Model
{
if (!empty($this->image)) {
if (in_array(env('FILESYSTEM_DISK'), ['s3', 'minio'])) {
return Storage::temporaryUrl(
$this->image,
Date::now()->addMinutes(5)
);
return Storage::url($this->image);
}
return $this->image;
}