Mark small countries on the map, fit latest catches table, show missing host

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
TomandClaude Opus 5.5 committed 2026-11-15 12:44:23 +01:00
1 parent 6e2ff3f7ee
commit 31cef44bf3
15 files changed
+475 -27

No files matched your search

@@ -24,5 +24,24 @@ public static class Formatting
_ => $"{bytes} B"
};
public static string? Target(string? target)
{
var space = target?.IndexOf(' ') ?? -1;
if (space < 0)
{
return target;
}
var hostAndPath = target![(space + 1)..];
if (hostAndPath.StartsWith('/'))
{
return $"{target[..space]} (ohne Host){hostAndPath}";
}
return hostAndPath == "_" || hostAndPath.StartsWith("_/", StringComparison.Ordinal)
? $"{target[..space]} (ohne Host){hostAndPath[1..]}"
: target;
}
public static string? Provider(long? asn, string? provider) => asn is null ? provider : $"AS{asn} {provider}".TrimEnd();
}