change: add 'gitlab.com' to whitelisted Modrinth modpack urls

This commit is contained in:
flow 2022-05-28 14:16:05 -03:00
parent 1698554024
commit b5e00027d1
No known key found for this signature in database
GPG Key ID: 8D0F221F0A59F469

View File

@ -102,6 +102,8 @@ auto validateDownloadUrl(QUrl url) -> bool
return true; return true;
if(domain == "raw.githubusercontent.com") if(domain == "raw.githubusercontent.com")
return true; return true;
if(domain == "gitlab.com")
return true;
return false; return false;
} }