diff options
author | flow <thiagodonato300@gmail.com> | 2022-05-15 07:43:02 -0300 |
---|---|---|
committer | flow <thiagodonato300@gmail.com> | 2022-05-15 07:43:02 -0300 |
commit | 4bb429a0fbe698d0f4dbdbf02719e76730b5b6bd (patch) | |
tree | 0a0a994ceea736d184cc7ccd735cceab5b40e50b /buildconfig/BuildConfig.h | |
parent | 4a0e4fdb85ae6782406919c4b4df9554a81356aa (diff) | |
download | PrismLauncher-4bb429a0fbe698d0f4dbdbf02719e76730b5b6bd.tar.gz PrismLauncher-4bb429a0fbe698d0f4dbdbf02719e76730b5b6bd.tar.bz2 PrismLauncher-4bb429a0fbe698d0f4dbdbf02719e76730b5b6bd.zip |
change: use build variables for the modrinth API URLs
Make it more consistent with the others
Diffstat (limited to 'buildconfig/BuildConfig.h')
-rw-r--r-- | buildconfig/BuildConfig.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/buildconfig/BuildConfig.h b/buildconfig/BuildConfig.h index a920a3d4..8594e46d 100644 --- a/buildconfig/BuildConfig.h +++ b/buildconfig/BuildConfig.h @@ -151,6 +151,9 @@ class Config { */ QString TECHNIC_API_BUILD = "multimc"; + QString MODRINTH_STAGING_URL = "https://staging-api.modrinth.com/v2"; + QString MODRINTH_PROD_URL = "https://api.modrinth.com/v2"; + /** * \brief Converts the Version to a string. * \return The version number in string format (major.minor.revision.build). |