fix: Have the URL be the project URL itself
(I think, doesn't seem to work for the waffle though, probably because of the staging API :/)
This commit is contained in:
@ -35,6 +35,7 @@ void loadIndexedPack(Modpack& pack, QJsonObject& obj)
|
||||
void loadIndexedInfo(Modpack& pack, QJsonObject& obj)
|
||||
{
|
||||
pack.extra.body = Json::ensureString(obj, "body");
|
||||
pack.extra.projectUrl = QString("https://modrinth.com/modpack/%1").arg(Json::ensureString(obj, "slug"));
|
||||
pack.extra.sourceUrl = Json::ensureString(obj, "source_url");
|
||||
pack.extra.wikiUrl = Json::ensureString(obj, "wiki_url");
|
||||
|
||||
|
Reference in New Issue
Block a user