Update Media model

This commit is contained in:
Daniel Supernault 2019-07-18 21:52:37 -06:00
parent 79f84b59d2
commit b14ad224ad
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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;