moved condition
This commit is contained in:
@@ -24,13 +24,14 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
if( env('APP_ENV') == 'production') {
|
||||
\URL::forceScheme('https');
|
||||
}
|
||||
// echo env('APP_ENV');
|
||||
// exit();
|
||||
// \URL::forceScheme('https');
|
||||
Schema::defaultStringLength(191);
|
||||
//config('app.app_env')
|
||||
if( env('APP_ENV') == 'production') {
|
||||
\URL::forceScheme('https');
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user