From 773e770cee8366e68ef909507e6747c771e50412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9=20=D0=A1=D0=B0?= =?UTF-8?q?=D0=B5=D0=BD=D0=BA=D0=BE?= Date: Wed, 22 Oct 2025 12:36:55 +0300 Subject: [PATCH] asd --- web/service/inbound.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web/service/inbound.go b/web/service/inbound.go index 8ab11a88..283f10fb 100644 --- a/web/service/inbound.go +++ b/web/service/inbound.go @@ -319,6 +319,13 @@ func (s *InboundService) AddInbound(inbound *model.Inbound) (*model.Inbound, boo s.xrayApi.Close() } + body, err := json.Marshal(inbound) + if err != nil { + return inbound, false, err + } + + s.syncWithSlaves("POST", "/panel/api/inbounds/add", bytes.NewReader(body)) + return inbound, needRestart, err }