Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2026-04-26 18:34:31 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2026-04-26 18:34:31 +0300
commita62c637632d0e4f0ff74fe185a3ea50048cb73d8 (patch)
treeb0f4446e30d1ef9c5fd81ba1a4d293954d152705 /web/service
parent35609b7b132158fc496b5c834766100e86f7c3bf (diff)
DNS outbound: Add rules
Diffstat (limited to 'web/service')
-rw-r--r--web/service/inbound.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/service/inbound.go b/web/service/inbound.go
index 7d5d8932..8ab5e6a8 100644
--- a/web/service/inbound.go
+++ b/web/service/inbound.go
@@ -779,7 +779,7 @@ func (s *InboundService) writeBackClientSubID(sourceInboundID int, sourceProtoco
}
settingsBytes, err := json.Marshal(map[string][]model.Client{
- "clients": []model.Client{client},
+ "clients": {client},
})
if err != nil {
return false, err