mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-12 06:40:18 +00:00
Assign detour config
This commit is contained in:
1 parent
43f6998d31
commit
957eaf38db
1 file changed
+1
@@ -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