Explorar el Código

添加服务信息接口

chenxiqiang hace 6 años
padre
commit
4af54eb4da

+ 4
- 1
manage-server/app/Http/Middleware/TrustProxies.php Ver fichero

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

+ 0
- 1
manage-server/app/Providers/AppServiceProvider.php Ver fichero

@@ -14,7 +14,6 @@ class AppServiceProvider extends ServiceProvider
14 14
      */
15 15
     public function boot()
16 16
     {
17
-        \URL::forceScheme('https');
18 17
         Schema::defaultStringLength(191);
19 18
     }
20 19
 

Loading…
Cancelar
Guardar