소스 검색

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.