From 24f5324c2a4e4bb4da040413692f8d21dd3f0086 Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Sun, 2 Feb 2020 22:06:51 +0800 Subject: [PATCH] fix client route --- app/Http/Controllers/Client/ClientController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Client/ClientController.php b/app/Http/Controllers/Client/ClientController.php index f87bf27b..9cce9994 100755 --- a/app/Http/Controllers/Client/ClientController.php +++ b/app/Http/Controllers/Client/ClientController.php @@ -139,7 +139,7 @@ class ClientController extends Controller ]); try { - $rules = Yaml::parseFile(base_path() . '/resources/rules/clash.rule.yaml'); + $rules = Yaml::parseFile(base_path() . '/resources/rules/clash.rule.yaml')['Rule']; } catch (\Exception $e) {} $config = [