aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/modrinth/ModrinthPackManifest.cpp
diff options
context:
space:
mode:
authorflow <flowlnlnln@gmail.com>2022-05-28 14:16:05 -0300
committerflow <flowlnlnln@gmail.com>2022-05-28 17:01:58 -0300
commitb5e00027d1a16744ae9287b1262e7f6405bd9d5d (patch)
tree3896aeb4871c3c133774c66e525503f8402fb4a5 /launcher/modplatform/modrinth/ModrinthPackManifest.cpp
parent1698554024d8fb7646a7a725e354a960ee19b568 (diff)
downloadPrismLauncher-b5e00027d1a16744ae9287b1262e7f6405bd9d5d.tar.gz
PrismLauncher-b5e00027d1a16744ae9287b1262e7f6405bd9d5d.tar.bz2
PrismLauncher-b5e00027d1a16744ae9287b1262e7f6405bd9d5d.zip
change: add 'gitlab.com' to whitelisted Modrinth modpack urls
Diffstat (limited to 'launcher/modplatform/modrinth/ModrinthPackManifest.cpp')
-rw-r--r--launcher/modplatform/modrinth/ModrinthPackManifest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthPackManifest.cpp b/launcher/modplatform/modrinth/ModrinthPackManifest.cpp
index b1c4fbcd..8b379480 100644
--- a/launcher/modplatform/modrinth/ModrinthPackManifest.cpp
+++ b/launcher/modplatform/modrinth/ModrinthPackManifest.cpp
@@ -102,6 +102,8 @@ auto validateDownloadUrl(QUrl url) -> bool
return true;
if(domain == "raw.githubusercontent.com")
return true;
+ if(domain == "gitlab.com")
+ return true;
return false;
}