Browse Source

Assign detour config

v2ray 9 years ago
parent
commit
957eaf38db
1 changed files with 1 additions and 0 deletions
  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,
 			AlterIDs: 32,
 		}
 		}
 	}
 	}
+	this.DetourConfig = jsonConfig.DetourConfig
 	// Backward compatibility
 	// Backward compatibility
 	if this.Features != nil && this.DetourConfig == nil {
 	if this.Features != nil && this.DetourConfig == nil {
 		this.DetourConfig = this.Features.Detour
 		this.DetourConfig = this.Features.Detour