Skip to content

Commit

Permalink
Fetch support (barryvdh#975)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevelacey authored Feb 9, 2020
1 parent 35638e4 commit 7afc4a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"require": {
"php": ">=7.0",
"maximebf/debugbar": "^1.15",
"maximebf/debugbar": "^1.15.1",
"illuminate/routing": "^5.5|^6",
"illuminate/session": "^5.5|^6",
"illuminate/support": "^5.5|^6",
Expand Down
1 change: 1 addition & 0 deletions src/LaravelDebugbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ function ($query, $bindings = null, $time = null, $connectionName = null) use ($

$renderer = $this->getJavascriptRenderer();
$renderer->setIncludeVendors($this->app['config']->get('debugbar.include_vendors', true));
$renderer->setBindAjaxHandlerToFetch($app['config']->get('debugbar.capture_ajax', true));
$renderer->setBindAjaxHandlerToXHR($app['config']->get('debugbar.capture_ajax', true));

$this->booted = true;
Expand Down

0 comments on commit 7afc4a4

Please sign in to comment.