Update Media model

pull/1526/head
Daniel Supernault 2019-07-18 21:52:37 -06:00
rodzic 79f84b59d2
commit b14ad224ad
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

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