From 620c2c1e3776cb9c699f3c9880bb2634bfb98f33 Mon Sep 17 00:00:00 2001 From: 57a4c324e742 <55197263+57a4c324e742@users.noreply.github.com> Date: Sun, 4 Jun 2023 01:46:12 +0000 Subject: [PATCH] Add DomainStrategy for JSONv5 outbound --- infra/conf/v5cfg/skeleton.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/infra/conf/v5cfg/skeleton.go b/infra/conf/v5cfg/skeleton.go index 0f0158f0a..347035376 100644 --- a/infra/conf/v5cfg/skeleton.go +++ b/infra/conf/v5cfg/skeleton.go @@ -31,13 +31,14 @@ type InboundConfig struct { } type OutboundConfig struct { - Protocol string `json:"protocol"` - SendThrough *cfgcommon.Address `json:"sendThrough"` - Tag string `json:"tag"` - Settings json.RawMessage `json:"settings"` - StreamSetting *StreamConfig `json:"streamSettings"` - ProxySettings *proxycfg.ProxyConfig `json:"proxySettings"` - MuxSettings *muxcfg.MuxConfig `json:"mux"` + Protocol string `json:"protocol"` + SendThrough *cfgcommon.Address `json:"sendThrough"` + Tag string `json:"tag"` + Settings json.RawMessage `json:"settings"` + StreamSetting *StreamConfig `json:"streamSettings"` + ProxySettings *proxycfg.ProxyConfig `json:"proxySettings"` + MuxSettings *muxcfg.MuxConfig `json:"mux"` + DomainStrategy string `json:"domainStrategy"` } type StreamConfig struct {