Pārlūkot izejas kodu

Explicitly specify the disk for openapi.yaml file

Ahmed Shahawi 4 gadi atpakaļ
vecāks
revīzija
38dd5ab344
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/Http/Controller.php

+ 1 - 1
src/Http/Controller.php

@@ -30,6 +30,6 @@ class Controller
      */
     public function openapi()
     {
-        return response()->file(Storage::path('scribe/openapi.yaml'));
+        return response()->file(Storage::disk('local')->path('scribe/openapi.yaml'));
     }
 }