change: update whitelisted hosts in Modrinth modpacks

This commit is contained in:
flow
2022-05-28 09:19:53 -03:00
parent 699ad316f0
commit f4604bbf79
2 changed files with 8 additions and 7 deletions

View File

@ -98,10 +98,6 @@ auto validateDownloadUrl(QUrl url) -> bool
auto domain = url.host();
if(domain == "cdn.modrinth.com")
return true;
if(domain == "edge.forgecdn.net")
return true;
if(domain == "media.forgecdn.net")
return true;
if(domain == "github.com")
return true;
if(domain == "raw.githubusercontent.com")