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

+ 2
- 3
app/Providers/AppServiceProvider.php Voir le fichier

@@ -22,9 +22,8 @@ class AppServiceProvider extends ServiceProvider
22 22
      */
23 23
     public function boot(): void
24 24
     {
25
-        if (env('APP_ENV') === 'production') {
26
-            URL::forceScheme('https');
27
-        }
25
+        URL::forceScheme('https');
26
+
28 27
         TranslatableTabs::configureUsing(function (TranslatableTabs $component) {
29 28
             $component
30 29
                 // locales labels