diff --git a/sub/subService.go b/sub/subService.go index 3b5820d7..543f1133 100644 --- a/sub/subService.go +++ b/sub/subService.go @@ -53,6 +53,7 @@ func (s *SubService) GetSubs(subId string, host string, showInfo bool) ([]string json.Unmarshal([]byte(fallbackMaster.StreamSettings), &masterStream) stream["security"] = masterStream["security"] stream["tlsSettings"] = masterStream["tlsSettings"] + stream["externalProxy"] = masterStream["externalProxy"] modifiedStream, _ := json.MarshalIndent(stream, "", " ") inbound.StreamSettings = string(modifiedStream) } diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index 86a4eee8..4a90222a 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -988,6 +988,7 @@ newInbound = newDbInbound.toInbound(); newInbound.stream.security = rootInbound.stream.security; newInbound.stream.tls = rootInbound.stream.tls; + newInbound.stream.externalProxy = rootInbound.stream.externalProxy; newDbInbound.streamSettings = newInbound.stream.toString(); } }