From c9fa7757bda8911f157d04843a3f44dc137209a6 Mon Sep 17 00:00:00 2001 From: dongwei <838456736@qq.com> Date: Fri, 15 Mar 2019 16:13:33 +0800 Subject: [PATCH] ip permison --- src/Middleware/Security.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Middleware/Security.php b/src/Middleware/Security.php index 308efb3..ab26181 100644 --- a/src/Middleware/Security.php +++ b/src/Middleware/Security.php @@ -40,7 +40,7 @@ class Security */ private function isClientIPPermitted($ip) { - if (!app()->environment('production', 'staging')) { + if (app()->environment('develop', 'local')) { return true; }