Andrew il y a 2 mois
Parent
révision
c65ee4cde7
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      app/Providers/AppServiceProvider.php

+ 1
- 1
app/Providers/AppServiceProvider.php Voir le fichier

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