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