mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 01:11:46 +08:00 
			
		
		
		
	update
This commit is contained in:
		| @@ -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) {} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user