From 710313a1b3124d47c75e7ca48fa73c464cdf9ced Mon Sep 17 00:00:00 2001 From: dongwei <838456736@qq.com> Date: Tue, 12 Feb 2019 15:53:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E7=8E=AF=E5=A2=83=E4=B8=8D?= =?UTF-8?q?=E4=BA=A7=E7=94=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Middleware/TunnelMiddleware.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Middleware/TunnelMiddleware.php b/src/Middleware/TunnelMiddleware.php index f8cdd39..dee1598 100644 --- a/src/Middleware/TunnelMiddleware.php +++ b/src/Middleware/TunnelMiddleware.php @@ -39,7 +39,7 @@ class TunnelMiddleware { //过滤tool返回结果 if ($response instanceof JsonResponse) { - if (app()->environment('dev', 'production')) { + if (app()->environment('dev')) { $content = $response->getOriginalContent(); $status = isset($content['error']) ? $content['error']['code'] : 200; $client = new \InfluxDB\Client("10.0.1.67");