mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Check domain remaps for valid CLI downloads.
This commit is contained in:
parent
65a908aa1e
commit
dd7ee04e00
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user