moshaorui 2 settimane fa
parent
commit
80897d4b96
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      app/Console/Commands/GeneratePreviewVideo.php

+ 1 - 0
app/Console/Commands/GeneratePreviewVideo.php

@@ -150,6 +150,7 @@ class GeneratePreviewVideo extends Command
     private function ossUrl($url)
     {
         if (strpos($url, 'http:') === 0 || strpos($url, 'https:') === 0) {
+            $url = str_replace(env('PREVIEW_OSS_URL'), env('PREVIEW_OSS_URL_INTERNAL'), $url);
             return  $url;
         }
         if (env('PREVIEW_OSS_URL_INTERNAL')) {