From 1a7dc820a940d1a949b1959b8a05c4658fdf1d1d Mon Sep 17 00:00:00 2001 From: Jack Goh Date: Thu, 19 Jul 2018 09:51:35 +0800 Subject: [PATCH] fix production frontend issue --- resources/views/index.blade.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php index 7925af6e..054abca3 100644 --- a/resources/views/index.blade.php +++ b/resources/views/index.blade.php @@ -41,15 +41,13 @@ $polyfills = [ {{-- Load the application scripts --}} - {{ env('APP_ENV') }} - {{ env('APP_ENV') != 'production' || env('APP_ENV') != 'staging' }} - @if (env('APP_ENV') != 'production' || env('APP_ENV') != 'staging') - - @else + @if (env('APP_ENV') == 'production' || env('APP_ENV') == 'staging') - + + @else + @endif