NOISSUE remove use of obsolete URL constants, simplify the rest
This commit is contained in:
@ -4,7 +4,7 @@ namespace URLConstants {
|
||||
|
||||
QString getLegacyJarUrl(QString version)
|
||||
{
|
||||
return "https://" + AWS_DOWNLOAD_VERSIONS + getJarPath(version);
|
||||
return AWS_DOWNLOAD_VERSIONS + getJarPath(version);
|
||||
}
|
||||
|
||||
QString getJarPath(QString version)
|
||||
|
@ -19,17 +19,12 @@
|
||||
|
||||
namespace URLConstants
|
||||
{
|
||||
const QString AWS_DOWNLOAD_VERSIONS("s3.amazonaws.com/Minecraft.Download/versions/");
|
||||
const QString RESOURCE_BASE("resources.download.minecraft.net/");
|
||||
const QString LIBRARY_BASE("libraries.minecraft.net/");
|
||||
//const QString SKINS_BASE("skins.minecraft.net/MinecraftSkins/");
|
||||
const QString SKINS_BASE("crafatar.com/skins/");
|
||||
const QString AUTH_BASE("authserver.mojang.com/");
|
||||
const QString FORGE_LEGACY_URL("https://files.minecraftforge.net/minecraftforge/json");
|
||||
const QString FORGE_GRADLE_URL("https://files.minecraftforge.net/maven/net/minecraftforge/forge/json");
|
||||
const QString AWS_DOWNLOAD_VERSIONS("https://s3.amazonaws.com/Minecraft.Download/versions/");
|
||||
const QString RESOURCE_BASE("https://resources.download.minecraft.net/");
|
||||
const QString LIBRARY_BASE("https://libraries.minecraft.net/");
|
||||
const QString SKINS_BASE("https://crafatar.com/skins/");
|
||||
const QString AUTH_BASE("https://authserver.mojang.com/");
|
||||
const QString MOJANG_STATUS_URL("https://status.mojang.com/check");
|
||||
const QString MOJANG_STATUS_NEWS_URL("https://status.mojang.com/news");
|
||||
const QString LITELOADER_URL("http://dl.liteloader.com/versions/versions.json");
|
||||
const QString IMGUR_BASE_URL("https://api.imgur.com/3/");
|
||||
const QString FMLLIBS_OUR_BASE_URL("https://files.multimc.org/fmllibs/");
|
||||
const QString FMLLIBS_FORGE_BASE_URL("https://files.minecraftforge.net/fmllibs/");
|
||||
|
Reference in New Issue
Block a user