mirror of
https://github.com/v2board/v2board.git
synced 2025-01-10 16:19:10 +08:00
update
This commit is contained in:
parent
218338960b
commit
a2c674f00c
@ -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) {}
|
||||
|
Loading…
Reference in New Issue
Block a user