config production

This commit is contained in:
CHIEFSOFT\ameye
2024-01-27 12:18:10 -05:00
parent e321bb1498
commit 86ff8ec826
+3
View File
@@ -25,5 +25,8 @@ class AppServiceProvider extends ServiceProvider
public function boot()
{
Schema::defaultStringLength(191);
if(config('app.env') === 'production') {
\URL::forceScheme('https');
}
}
}