fix: Filter out wildcard agent (*) from the nodes list in SandboxNodeBindingPanel.

This commit is contained in:
Haitao Pan 2026-02-06 13:12:40 +08:00
parent c366e96e5d
commit 3b818314db

View File

@ -1149,6 +1149,9 @@ func agentListNodesHandler(registry *agentserver.Registry) gin.HandlerFunc {
agents := registry.Agents()
nodes := make([]api.VlessNode, 0, len(agents))
for _, agent := range agents {
if agent.ID == "*" {
continue
}
nodes = append(nodes, api.VlessNode{
Name: agent.Name,
Address: agent.ID,