diff --git a/src/controllers/LogViewerController.php b/src/controllers/LogViewerController.php index 44e5338..b079b11 100644 --- a/src/controllers/LogViewerController.php +++ b/src/controllers/LogViewerController.php @@ -68,7 +68,7 @@ public function index() 'standardFormat' => true, ]; - if ($this->request->wantsJson()) { + if ($this->request->ajax()) { return $data; }