Hide DDNS domain info for guests (#371)
This commit is contained in:
parent
bc7791efd2
commit
feb4659cab
@ -53,7 +53,9 @@ func ReSortServer() {
|
||||
for _, s := range ServerList {
|
||||
SortedServerList = append(SortedServerList, s)
|
||||
if !s.HideForGuest {
|
||||
SortedServerListForGuest = append(SortedServerListForGuest, s)
|
||||
filteredStat := *s
|
||||
filteredStat.DDNSDomain = "redacted"
|
||||
SortedServerListForGuest = append(SortedServerListForGuest, &filteredStat)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user