diff options
Diffstat (limited to 'api/logic')
-rw-r--r-- | api/logic/meta/BaseEntity.cpp | 2 | ||||
-rw-r--r-- | api/logic/meta/JsonFormat.cpp | 1 | ||||
-rw-r--r-- | api/logic/meta/JsonFormat.h | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/api/logic/meta/BaseEntity.cpp b/api/logic/meta/BaseEntity.cpp index 7cf327be..51b7209a 100644 --- a/api/logic/meta/BaseEntity.cpp +++ b/api/logic/meta/BaseEntity.cpp @@ -74,7 +74,7 @@ Meta::BaseEntity::~BaseEntity() QUrl Meta::BaseEntity::url() const { - return QUrl("https://meta.multimc.org").resolved(localFilename()); + return QUrl("https://dev.meta.multimc.org").resolved(localFilename()); } bool Meta::BaseEntity::loadLocalFile() diff --git a/api/logic/meta/JsonFormat.cpp b/api/logic/meta/JsonFormat.cpp index 6e84597c..493aaecf 100644 --- a/api/logic/meta/JsonFormat.cpp +++ b/api/logic/meta/JsonFormat.cpp @@ -112,6 +112,7 @@ MetadataVersion parseFormatVersion(const QJsonObject &obj, bool required) switch(obj.value("formatVersion").toInt()) { case 0: + case 1: return MetadataVersion::InitialRelease; default: return MetadataVersion::Invalid; diff --git a/api/logic/meta/JsonFormat.h b/api/logic/meta/JsonFormat.h index 82ab0ce3..391ce376 100644 --- a/api/logic/meta/JsonFormat.h +++ b/api/logic/meta/JsonFormat.h @@ -31,7 +31,7 @@ class VersionList; enum class MetadataVersion { Invalid = -1, - InitialRelease = 0 + InitialRelease = 1 }; class ParseException : public Exception |