change: use build variables for the modrinth API URLs

Make it more consistent with the others
This commit is contained in:
flow
2022-05-15 07:43:02 -03:00
parent 4a0e4fdb85
commit 4bb429a0fb
4 changed files with 21 additions and 15 deletions

View File

@ -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).