config('app.app_env')
This commit is contained in:
@@ -26,7 +26,8 @@ class AppServiceProvider extends ServiceProvider
|
||||
{
|
||||
// \URL::forceScheme('https');
|
||||
Schema::defaultStringLength(191);
|
||||
if(config('app.app_env') === 'production') {
|
||||
//config('app.app_env')
|
||||
if( env('APP_ENV') === 'production') {
|
||||
\URL::forceScheme('https');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user