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