CodeCommitAccess+1-at-632418466995 1 день назад
Родитель
Сommit
9db2e482b1
1 измененных файлов: 3 добавлений и 3 удалений
  1. 3
    3
      app/Providers/AppServiceProvider.php

+ 3
- 3
app/Providers/AppServiceProvider.php Просмотреть файл

@@ -25,9 +25,9 @@ class AppServiceProvider extends ServiceProvider
25 25
         if (App::environment('production')) {
26 26
             URL::forceScheme('https');
27 27
         }
28
-        if (app()->environment('local', 'testing', 'Staging')) {
29
-            URL::forceScheme('http');
30
-        }
28
+        // if (app()->environment('local', 'testing', 'Staging')) {
29
+        //     URL::forceScheme('http');
30
+        // }
31 31
         Gate::before(function ($user, $ability) {
32 32
             if ($user->email == env("SUPER_ADMIN_ACCOUNT", "admin@ogilvy.com")) {
33 33
                 return true; // Super admin always passes