fix client route

This commit is contained in:
Tokumeikoi 2020-02-02 22:06:51 +08:00
parent 0299cd63ad
commit 24f5324c2a

View File

@ -139,7 +139,7 @@ class ClientController extends Controller
]); ]);
try { 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) {} } catch (\Exception $e) {}
$config = [ $config = [