fix: node name, report user

This commit is contained in:
Yuzuki616
2025-04-22 10:26:45 +09:00
parent 05c787100e
commit 28d5f1dd00
2 changed files with 13 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ func (h *Handler) PullNodeHandle(n *panel.NodeInfo) error {
ni.Limit.IPLimit = number.SelectBigger(ni.Limit.IPLimit, h.Limit.IPLimit)
ni.Limit.SpeedLimit = number.SelectBigger(ni.Limit.SpeedLimit, uint64(h.Limit.SpeedLimit))
err := h.c.AddNode(&core.AddNodeParams{
Name: h.nodeName,
NodeInfo: ni,
TlsOptions: core.TlsOptions{
CertPath: h.Cert.CertPath,