Selaa lähdekoodia

添加服务信息接口

chenxiqiang 7 vuotta sitten
vanhempi
commit
84a1fd9953
1 muutettua tiedostoa jossa 1 lisäystä ja 4 poistoa
  1. 1
    4
      manage-server/app/Http/Middleware/TrustProxies.php

+ 1
- 4
manage-server/app/Http/Middleware/TrustProxies.php Näytä tiedosto

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

Loading…
Peruuta
Tallenna