瀏覽代碼

添加服务信息接口

chenxiqiang 6 年之前
父節點
當前提交
84a1fd9953
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. 1
    4
      manage-server/app/Http/Middleware/TrustProxies.php

+ 1
- 4
manage-server/app/Http/Middleware/TrustProxies.php 查看文件

@@ -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.

Loading…
取消
儲存