summaryrefslogtreecommitdiffstats
path: root/logic/net/URLConstants.h
diff options
context:
space:
mode:
Diffstat (limited to 'logic/net/URLConstants.h')
-rw-r--r--logic/net/URLConstants.h38
1 files changed, 18 insertions, 20 deletions
diff --git a/logic/net/URLConstants.h b/logic/net/URLConstants.h
index b04f44ba..8923ef54 100644
--- a/logic/net/URLConstants.h
+++ b/logic/net/URLConstants.h
@@ -17,26 +17,24 @@
#include <QString>
-#include "multimc_logic_export.h"
-
namespace URLConstants
{
-extern const QString AWS_DOWNLOAD_BASE;
-extern const QString AWS_DOWNLOAD_VERSIONS;
-extern const QString AWS_DOWNLOAD_LIBRARIES;
-extern const QString AWS_DOWNLOAD_INDEXES;
-extern const QString ASSETS_BASE;
-extern const QString RESOURCE_BASE;
-extern const QString LIBRARY_BASE;
-MULTIMC_LOGIC_EXPORT extern const QString SKINS_BASE;
-extern const QString AUTH_BASE;
-extern const QString FORGE_LEGACY_URL;
-extern const QString FORGE_GRADLE_URL;
-extern const QString MOJANG_STATUS_URL;
-extern const QString MOJANG_STATUS_NEWS_URL;
-extern const QString LITELOADER_URL;
-extern const QString IMGUR_BASE_URL;
-extern const QString FMLLIBS_OUR_BASE_URL;
-extern const QString FMLLIBS_FORGE_BASE_URL;
-extern const QString TRANSLATIONS_BASE_URL;
+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("http://files.minecraftforge.net/minecraftforge/json");
+const QString FORGE_GRADLE_URL("http://files.minecraftforge.net/maven/net/minecraftforge/forge/json");
+const QString MOJANG_STATUS_URL("http://status.mojang.com/check");
+const QString MOJANG_STATUS_NEWS_URL("http://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("http://files.multimc.org/fmllibs/");
+const QString FMLLIBS_FORGE_BASE_URL("http://files.minecraftforge.net/fmllibs/");
+const QString TRANSLATIONS_BASE_URL("http://files.multimc.org/translations/");
+
+QString getJarPath(QString version);
+QString getLegacyJarUrl(QString version);
}