feat(controller): add /getip command to retrieve server IP information

This commit is contained in:
2026-08-19 14:39:41 +08:00
parent bd2bccd8ef
commit 5689c942d2
4 changed files with 40 additions and 0 deletions
+2
View File
@@ -249,6 +249,8 @@ func BuildNodeListData(nodes []NodeInfo) map[string]node.NodeListEntry {
info.Price = n.Price
info.Group = n.Group
info.Tags = n.Tags
info.IPv4 = n.IPv4
info.IPv6 = n.IPv6
entries[n.UUID] = node.NodeListEntry{
Name: n.Name,