Skip to content

Commit

Permalink
fix APP_DEBUG flag
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarzin committed Oct 20, 2024
1 parent 8d6725a commit d9d7915
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ public function boot()
URL::forceScheme('https');
}

// if (true) {
if (Config::get('APP_DEBUG')) {
if (env('APP_DEBUG')) {
DB::listen(function ($query) {
Log::info(
$query->sql,
Expand Down

0 comments on commit d9d7915

Please sign in to comment.