You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
messages[server_id].append(f"The primary address' domain ({primary_domain.fld}) is not in the addresses list. Or the primary address is not a valid domain.")
245
+
elifprimary_domainisNone:
246
+
messages[server_id].append(f"The primary address `{server.get('primaryAddress', '')}` is not a valid domain. Please review the [documentation](https://lunarclient.dev/server-mappings/adding-servers/metadata).")
messages[server_id].append(f"{address} does not follow the [documentation](https://lunarclient.dev/server-mappings/adding-servers/metadata). Please make sure the address is a valid domain, and does not have a subdomain.")
262
+
263
+
ifdomainisnotNoneanddomain.fldinseen_domains:
264
+
messages[server_id].append(f"The domain {domain.fld} is also present in {', '.join(map(lambdas: f"`{s}`", seen_domains[domain.fld]))}. Please ensure each server has a unique domain(s).")
265
+
elifdomainisnotNone:
266
+
seen_domains[domain.fld].add(server_id)
267
+
else:
268
+
messages[server_id].append(f"`{address}` is not a valid domain. Please review the [documentation](https://lunarclient.dev/server-mappings/adding-servers/metadata).")
0 commit comments