Browse Source

disk('local')->url

visuddhinanda 2 years ago
parent
commit
ae5699bf77
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Console/Commands/ExportOffline.php

+ 1 - 1
app/Console/Commands/ExportOffline.php

@@ -93,7 +93,7 @@ class ExportOffline extends Command
 
         $info = array();
         $info[] = ['filename'=>$zipFile,
-                   'url'=>Storage::url($exportPath.'/'.$zipFile),
+                   'url'=>Storage::disk('local')->url($exportPath.'/'.$zipFile),
                    'create_at'=>date("Y-m-d H:i:s"),
                    'chapter'=>Cache::get("/export/chapter/count"),
                    'filesize'=>filesize($zipFullFileName),