mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	update client
This commit is contained in:
		| @@ -39,9 +39,9 @@ class AppController extends Controller | |||||||
|             array_push($proxies, $item->name); |             array_push($proxies, $item->name); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         $config['Proxy'] = array_merge($config['Proxy'] ? $config['Proxy'] : [], $proxy); |         $config['proxies'] = array_merge($config['proxies'] ? $config['proxies'] : [], $proxy); | ||||||
|         foreach ($config['Proxy Group'] as $k => $v) { |         foreach ($config['proxy-groups'] as $k => $v) { | ||||||
|             $config['Proxy Group'][$k]['proxies'] = array_merge($config['Proxy Group'][$k]['proxies'], $proxies); |             $config['proxy-groups'][$k]['proxies'] = array_merge($config['proxy-groups'][$k]['proxies'], $proxies); | ||||||
|         } |         } | ||||||
|         die(Yaml::dump($config)); |         die(Yaml::dump($config)); | ||||||
|     } |     } | ||||||
|   | |||||||
| @@ -16,14 +16,14 @@ dns: | |||||||
|   fallback: |   fallback: | ||||||
|     - tls://1.0.0.1:853 |     - tls://1.0.0.1:853 | ||||||
|     - tls://dns.google:853 |     - tls://dns.google:853 | ||||||
| Proxy: | proxies: | ||||||
|  |  | ||||||
| Proxy Group: | proxy-groups: | ||||||
|   - { name: "SELECT", type: select, proxies: ["自动选择", "故障转移"] } |   - { name: "SELECT", type: select, proxies: ["自动选择", "故障转移"] } | ||||||
|   - { name: "自动选择", type: url-test, proxies: [], url: "http://www.gstatic.com/generate_204", interval: 86400 } |   - { name: "自动选择", type: url-test, proxies: [], url: "http://www.gstatic.com/generate_204", interval: 86400 } | ||||||
|   - { name: "故障转移", type: fallback, proxies: [], url: "http://www.gstatic.com/generate_204", interval: 7200 } |   - { name: "故障转移", type: fallback, proxies: [], url: "http://www.gstatic.com/generate_204", interval: 7200 } | ||||||
|  |  | ||||||
| Rule: | rules: | ||||||
|   # Apple |   # Apple | ||||||
|   - DOMAIN,safebrowsing.urlsec.qq.com,DIRECT # 如果您并不信任此服务提供商或防止其下载消耗过多带宽资源,可以进入 Safari 设置,关闭 Fraudulent Website Warning 功能,并使用 REJECT 策略。 |   - DOMAIN,safebrowsing.urlsec.qq.com,DIRECT # 如果您并不信任此服务提供商或防止其下载消耗过多带宽资源,可以进入 Safari 设置,关闭 Fraudulent Website Warning 功能,并使用 REJECT 策略。 | ||||||
|   - DOMAIN,safebrowsing.googleapis.com,DIRECT # 如果您并不信任此服务提供商或防止其下载消耗过多带宽资源,可以进入 Safari 设置,关闭 Fraudulent Website Warning 功能,并使用 REJECT 策略。 |   - DOMAIN,safebrowsing.googleapis.com,DIRECT # 如果您并不信任此服务提供商或防止其下载消耗过多带宽资源,可以进入 Safari 设置,关闭 Fraudulent Website Warning 功能,并使用 REJECT 策略。 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user