Browse Source

Merge pull request #150 from AlShahawi/patch-1

Explicitly specify the disk for openapi.yaml file
Shalvah 4 năm trước cách đây
mục cha
commit
5f15979979
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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'));
     }
 }