Browse Source

添加服务信息接口

chenxiqiang 6 years ago
parent
commit
4af54eb4da

+ 4
- 1
manage-server/app/Http/Middleware/TrustProxies.php View File

12
      *
12
      *
13
      * @var array
13
      * @var array
14
      */
14
      */
15
-    protected $proxies;
15
+    protected $proxies = [
16
+        'localhost',
17
+        '127.0.0.1',
18
+    ];
16
 
19
 
17
     /**
20
     /**
18
      * The headers that should be used to detect proxies.
21
      * The headers that should be used to detect proxies.

+ 0
- 1
manage-server/app/Providers/AppServiceProvider.php View File

14
      */
14
      */
15
     public function boot()
15
     public function boot()
16
     {
16
     {
17
-        \URL::forceScheme('https');
18
         Schema::defaultStringLength(191);
17
         Schema::defaultStringLength(191);
19
     }
18
     }
20
 
19
 

Loading…
Cancel
Save