Browse Source

change staging to https

parent
commit
9db2e482b1
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      app/Providers/AppServiceProvider.php

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

25
         if (App::environment('production')) {
25
         if (App::environment('production')) {
26
             URL::forceScheme('https');
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
         Gate::before(function ($user, $ability) {
31
         Gate::before(function ($user, $ability) {
32
             if ($user->email == env("SUPER_ADMIN_ACCOUNT", "admin@ogilvy.com")) {
32
             if ($user->email == env("SUPER_ADMIN_ACCOUNT", "admin@ogilvy.com")) {
33
                 return true; // Super admin always passes
33
                 return true; // Super admin always passes