From 09ace2deb1783a900287dd8cbbd9f5527a799ad1 Mon Sep 17 00:00:00 2001 From: rahulalam31 Date: Wed, 24 Jul 2024 15:56:44 +0530 Subject: [PATCH] middleware bug fix --- src/Middleware/AbuseIp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Middleware/AbuseIp.php b/src/Middleware/AbuseIp.php index 6b5ab63..826be7e 100644 --- a/src/Middleware/AbuseIp.php +++ b/src/Middleware/AbuseIp.php @@ -10,7 +10,7 @@ class AbuseIp { public function handle(Request $request, Closure $next) { - $abuseip = config('abuseip.abuse_ips'); + $abuseip = config('abuseip.abuse_ips')(); if (in_array($request->ip(), $abuseip)) {