Explorar o código

Explicitly specify the disk for openapi.yaml file

Ahmed Shahawi %!s(int64=4) %!d(string=hai) anos
pai
achega
38dd5ab344
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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'));
     }
 }