Skip to content

Commit

Permalink
Merge pull request #150 from AlShahawi/patch-1
Browse files Browse the repository at this point in the history
Explicitly specify the disk for openapi.yaml file
  • Loading branch information
shalvah authored Dec 1, 2020
2 parents e7b8408 + 38dd5ab commit 5f15979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ public function postman()
*/
public function openapi()
{
return response()->file(Storage::path('scribe/openapi.yaml'));
return response()->file(Storage::disk('local')->path('scribe/openapi.yaml'));
}
}

0 comments on commit 5f15979

Please sign in to comment.