瀏覽代碼

trust proxies to all per evitare 401 su caricamento allegati server

FabioFratini 1 年之前
父節點
當前提交
5349624216
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Http/Middleware/TrustProxies.php

+ 1 - 1
app/Http/Middleware/TrustProxies.php

@@ -12,7 +12,7 @@ class TrustProxies extends Middleware
      *
      * @var array<int, string>|string|null
      */
-    protected $proxies;
+    protected $proxies = '*';
 
     /**
      * The headers that should be used to detect proxies.