From 347b0c3e8520032170cd7c2c8a28639bd80ea14d Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Fri, 30 Apr 2021 15:25:24 +0100 Subject: [PATCH] fix:observatory not supported by multi-json --- infra/conf/v2ray.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/infra/conf/v2ray.go b/infra/conf/v2ray.go index 3257bad5e..c888c716e 100644 --- a/infra/conf/v2ray.go +++ b/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