mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-27 12:41:58 +00:00
commit
6f9cad2106
@ -28,7 +28,7 @@ class TrustProxies extends Middleware
|
|||||||
* @param Closure $next
|
* @param Closure $next
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function handle($request, Closure $next)
|
public function handle(Request $request, Closure $next)
|
||||||
{
|
{
|
||||||
$setProxies = config('app.proxies');
|
$setProxies = config('app.proxies');
|
||||||
if ($setProxies !== '**' && $setProxies !== '*' && $setProxies !== '') {
|
if ($setProxies !== '**' && $setProxies !== '*' && $setProxies !== '') {
|
||||||
|
Loading…
Reference in New Issue
Block a user