Quellcode durchsuchen

fix:observatory not supported by multi-json

Shelikhoo vor 4 Jahren
Ursprung
Commit
347b0c3e85
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  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