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

+ 1
- 1
app/Providers/AppServiceProvider.php View File

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