Andrew 2 months ago
parent
commit
0cd2fd86de
1 changed files with 2 additions and 3 deletions
  1. 2
    3
      app/Providers/AppServiceProvider.php

+ 2
- 3
app/Providers/AppServiceProvider.php View File

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