Update Storage Url

This commit is contained in:
R
2022-11-15 16:31:37 +07:00
parent ca0f7e2fe0
commit 9a869968dc

View File

@@ -47,7 +47,7 @@ class File extends Model
public function getUrlAttribute() public function getUrlAttribute()
{ {
return url($this->path); return url(Storage::url($this->path));
} }
public static function storeFile($type, $id, $file) public static function storeFile($type, $id, $file)