diff --git a/src/Nyanbyte.Pacmeow.Server/Data/Mirror.cs b/src/Nyanbyte.Pacmeow.Server/Data/Mirror.cs index 9108452..5197598 100644 --- a/src/Nyanbyte.Pacmeow.Server/Data/Mirror.cs +++ b/src/Nyanbyte.Pacmeow.Server/Data/Mirror.cs @@ -13,11 +13,6 @@ public record Mirror public Uri GetUri(string repo, string arch) { - if (!Address.Contains("$repo") || !Address.Contains("$arch")) - { - throw new DataException($"Invalid server: {Address}"); - } - return new Uri(Address.Replace("$repo", repo).Replace("$arch", arch)); } }