Andrew hace 2 meses
padre
commit
0e7dc284e1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      app/Providers/AppServiceProvider.php

+ 1
- 1
app/Providers/AppServiceProvider.php Ver fichero

@@ -22,7 +22,7 @@ class AppServiceProvider extends ServiceProvider
22 22
      */
23 23
     public function boot(): void
24 24
     {
25
-        if ($this->app->isProduction()) {
25
+        if (App::environment('production')) {
26 26
             URL::forceScheme('https');
27 27
         }
28 28
         TranslatableTabs::configureUsing(function (TranslatableTabs $component) {