config: 默认配置中,拦截配置,添加 `api.github.com` 的 `sni: baidu.com` 配置
							parent
							
								
									c8d17c18f2
								
							
						
					
					
						commit
						ea55c46fb4
					
				|  | @ -129,12 +129,12 @@ module.exports = { | |||
|         } | ||||
|       }, | ||||
|       'camo.githubusercontent.com': { | ||||
|         '.*': { | ||||
|           sni: 'baidu.com' | ||||
|         }, | ||||
|         '^[a-zA-Z0-9/]+(\\?.*)?$': { | ||||
|           cacheDays: 365, | ||||
|           desc: '图片,缓存1年' | ||||
|         }, | ||||
|         '.*': { | ||||
|           sni: 'baidu.com' | ||||
|         } | ||||
|       }, | ||||
|       'collector.github.com': { | ||||
|  | @ -181,6 +181,9 @@ module.exports = { | |||
|         '^/_private/browser/stats$': { | ||||
|           success: true, | ||||
|           desc: 'github的访问速度分析上传,没有必要,直接返回成功' | ||||
|         }, | ||||
|         '.*': { | ||||
|           sni: 'baidu.com' | ||||
|         } | ||||
|       }, | ||||
|       'hub.docker.com': { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 王良
						王良