Browse Source

fix:observatory not supported by multi-json

Shelikhoo 4 years ago
parent
commit
347b0c3e85
1 changed files with 4 additions and 0 deletions
  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
 		c.FakeDNS = o.FakeDNS
 	}
 	}
 
 
+	if o.Observatory != nil {
+		c.Observatory = o.Observatory
+	}
+
 	// deprecated attrs... keep them for now
 	// deprecated attrs... keep them for now
 	if o.InboundConfig != nil {
 	if o.InboundConfig != nil {
 		c.InboundConfig = o.InboundConfig
 		c.InboundConfig = o.InboundConfig