Explorar o código

trust proxies to all per evitare 401 su caricamento allegati server

FabioFratini hai 1 ano
pai
achega
5349624216
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.