mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +00:00
Assign detour config
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user