Ver código fonte

添加服务信息接口

chenxiqiang 6 anos atrás
pai
commit
84a1fd9953
1 arquivos alterados com 1 adições e 4 exclusões
  1. 1
    4
      manage-server/app/Http/Middleware/TrustProxies.php

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

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

Carregando…
Cancelar
Salvar