Browse Source

Explicitly specify the disk for openapi.yaml file

Ahmed Shahawi 4 years ago
parent
commit
38dd5ab344
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Http/Controller.php

+ 1 - 1
src/Http/Controller.php

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