feat: use build config url instead of hadcoded one
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
df90d0cb0d
commit
9991501832
3 changed files with 16 additions and 13 deletions
|
@ -174,7 +174,7 @@ void FlamePage::onSelectionChanged(QModelIndex curr, [[maybe_unused]] QModelInde
|
|||
auto response = std::make_shared<QByteArray>();
|
||||
int addonId = current.addonId;
|
||||
netJob->addNetAction(
|
||||
Net::ApiDownload::makeByteArray(QString("https://api.curseforge.com/v1/mods/%1/files").arg(addonId), response));
|
||||
Net::ApiDownload::makeByteArray(QString(BuildConfig.FLAME_BASE_URL + "/mods/%1/files").arg(addonId), response));
|
||||
|
||||
QObject::connect(netJob, &NetJob::succeeded, this, [this, response, addonId, curr] {
|
||||
if (addonId != current.addonId) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue