소스 검색

change staging to https

부모
커밋
8c2aa50d0c
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3
    0
      app/Providers/AppServiceProvider.php

+ 3
- 0
app/Providers/AppServiceProvider.php 파일 보기

@@ -25,6 +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 31
         Gate::before(function ($user, $ability) {
29 32
             if ($user->email == env("SUPER_ADMIN_ACCOUNT", "admin@ogilvy.com")) {
30 33
                 return true; // Super admin always passes