Sfoglia il codice sorgente

trust proxies to all per evitare 401 su caricamento allegati server

FabioFratini 1 anno fa
parent
commit
5349624216
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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.