kopia lustrzana https://github.com/pixelfed/pixelfed
Update Media model
rodzic
79f84b59d2
commit
b14ad224ad
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue