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

This commit is contained in:
NanamiAdmin committed 2026-08-19 14:39:41 +08:00
1 parent bd2bccd8ef
commit 5689c942d2
4 files changed
+40

No files matched your search

+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,