Check domain remaps for valid CLI downloads.

This commit is contained in:
Unnoen 2020-11-02 04:27:29 +11:00
parent 65a908aa1e
commit dd7ee04e00
No known key found for this signature in database
GPG Key ID: 8F8E42252BA20553

View File

@ -47,7 +47,7 @@ namespace Wabbajack.Lib.Downloaders
public static AbstractDownloadState? StateFromUrl(Uri url)
{
if (url.Host == "wabbajacktest.b-cdn.net" || url.Host == "wabbajack.b-cdn.net")
if (DomainRemaps.ContainsKey(url.Host) || DomainRemaps.ContainsValue(url.Host))
{
return new State(url);
}