mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 09:43:16 +00:00
Update Media model
This commit is contained in:
parent
79f84b59d2
commit
b14ad224ad
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ class Media extends Model
|
|||
public function url()
|
||||
{
|
||||
if(!empty($this->remote_media) && $this->remote_url) {
|
||||
//$url = \App\Services\MediaProxyService::get($this->remote_url, $this->mime);
|
||||
$url = $this->remote_url;
|
||||
} else {
|
||||
$path = $this->media_path;
|
||||
|
|
Loading…
Reference in a new issue