environment

This commit is contained in:
CHIEFSOFT\ameye
2024-01-27 12:34:21 -05:00
parent 05163643be
commit 621a44b243
+2 -2
View File
@@ -24,9 +24,9 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
\URL::forceScheme('https');
// \URL::forceScheme('https');
Schema::defaultStringLength(191);
if(config('app.env') === 'production') {
if(config('app.app_env') === 'production') {
\URL::forceScheme('https');
}
}