config('app.app_env')

This commit is contained in:
CHIEFSOFT\ameye
2024-01-27 12:36:26 -05:00
parent 621a44b243
commit 297f889dbf
+2 -1
View File
@@ -26,7 +26,8 @@ class AppServiceProvider extends ServiceProvider
{ {
// \URL::forceScheme('https'); // \URL::forceScheme('https');
Schema::defaultStringLength(191); Schema::defaultStringLength(191);
if(config('app.app_env') === 'production') { //config('app.app_env')
if( env('APP_ENV') === 'production') {
\URL::forceScheme('https'); \URL::forceScheme('https');
} }
} }