Media can now be uploaded and an S3 URL is returned
This commit is contained in:
parent
63a8f49b64
commit
c66dd66155
3 changed files with 31 additions and 8 deletions
|
@ -28,6 +28,6 @@ class Media extends Model
|
|||
*/
|
||||
public function getUrlAttribute()
|
||||
{
|
||||
return config('filesystems.s3.url') . '/' . $this->path;
|
||||
return config('filesystems.disks.s3.url') . '/' . $this->path;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue