Skip to content

Commit

Permalink
Update BladeTranslationsGenerator.php
Browse files Browse the repository at this point in the history
  • Loading branch information
hondilla authored Aug 8, 2022
1 parent 4371822 commit 1bd9e64
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function make($group = null)
private function generateJS($trans)
{
$trans = json_encode($trans);
$debug = env('APP_ENV') == 'prod';
$debug = config('app.env') == 'prod';

$script = null;
$scriptTrans = "window.Translations = $trans;";
Expand Down

0 comments on commit 1bd9e64

Please sign in to comment.