瀏覽代碼

fix:observatory not supported by multi-json

Shelikhoo 4 年之前
父節點
當前提交
347b0c3e85
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      infra/conf/v2ray.go

+ 4 - 0
infra/conf/v2ray.go

@@ -415,6 +415,10 @@ func (c *Config) Override(o *Config, fn string) {
 		c.FakeDNS = o.FakeDNS
 	}
 
+	if o.Observatory != nil {
+		c.Observatory = o.Observatory
+	}
+
 	// deprecated attrs... keep them for now
 	if o.InboundConfig != nil {
 		c.InboundConfig = o.InboundConfig