فهرست منبع

Merge pull request #150 from AlShahawi/patch-1

Explicitly specify the disk for openapi.yaml file
Shalvah 4 سال پیش
والد
کامیت
5f15979979
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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'));
     }
 }