diff --git a/app/Http/Middleware/QueryLogging.php b/app/Http/Middleware/QueryLogging.php index b8ed33bc94b3..6487821cca6b 100644 --- a/app/Http/Middleware/QueryLogging.php +++ b/app/Http/Middleware/QueryLogging.php @@ -35,9 +35,9 @@ class QueryLogging { // Enable query logging for development - // if (! Ninja::isHosted() || ! config('beacon.enabled')) { - // return $next($request); - // } + if (! Ninja::isHosted() || ! config('beacon.enabled')) { + return $next($request); + } $timeStart = microtime(true); DB::enableQueryLog();