This commit is contained in:
Tokumeikoi 2020-03-04 19:34:47 +08:00
parent 218338960b
commit a2c674f00c
2 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ class ClientController extends Controller
try {
$rules = [];
foreach (glob(base_path() . '/resources/rules/' . '*.rule.yaml') as $file) {
foreach (glob(base_path() . '/resources/rules/' . '*.clash.yaml') as $file) {
$rules = array_merge($rules, Yaml::parseFile($file)['Rule']);
}
} catch (\Exception $e) {}