diff --git a/src/Http/Controller.php b/src/Http/Controller.php index 5db322e5..2423c74a 100644 --- a/src/Http/Controller.php +++ b/src/Http/Controller.php @@ -18,8 +18,8 @@ public function html() */ public function json() { - return response()->file( - Storage::disk('local')->path('apidoc/collection.json') + return response()->json( + json_decode(Storage::disk('local')->get('apidoc/collection.json')) ); } }