mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-02-20 23:47:21 -05:00
Assign detour config
This commit is contained in:
parent
43f6998d31
commit
957eaf38db
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user