瀏覽代碼

Assign detour config

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