Skip to content

Commit

Permalink
BaseRequest added to respond only to Json.
Browse files Browse the repository at this point in the history
  • Loading branch information
tavobarrientos committed Oct 30, 2020
1 parent a1126fb commit 27591ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);

$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
$request = \App\Http\Requests\BaseRequest::capture()
//$request = Illuminate\Http\Request::capture()
);

$response->send();
Expand Down

0 comments on commit 27591ff

Please sign in to comment.