Browse Source

Update Media model

Daniel Supernault 6 năm trước cách đây
mục cha
commit
b14ad224ad
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      app/Media.php

+ 1 - 0
app/Media.php

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