소스 검색

Assign detour config

v2ray 9 년 전
부모
커밋
957eaf38db
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      proxy/vmess/inbound/config_json.go

+ 1 - 0
proxy/vmess/inbound/config_json.go

@@ -70,6 +70,7 @@ func (this *Config) UnmarshalJSON(data []byte) error {
 			AlterIDs: 32,
 		}
 	}
+	this.DetourConfig = jsonConfig.DetourConfig
 	// Backward compatibility
 	if this.Features != nil && this.DetourConfig == nil {
 		this.DetourConfig = this.Features.Detour