diff --git a/src/Components/Modules/Changelog.cpp b/src/Components/Modules/Changelog.cpp index 10851346..9ad1ebf7 100644 --- a/src/Components/Modules/Changelog.cpp +++ b/src/Components/Modules/Changelog.cpp @@ -12,7 +12,7 @@ namespace Components std::lock_guard _(Mutex); Lines.clear(); - const auto data = Utils::Cache::GetFile("/develop/CHANGELOG.md"); + const auto data = Utils::Cache::GetFile("/info/changelog/plain"); if (data.empty()) { diff --git a/src/Components/Modules/News.cpp b/src/Components/Modules/News.cpp index 39a4b4e6..33e3f5c9 100644 --- a/src/Components/Modules/News.cpp +++ b/src/Components/Modules/News.cpp @@ -75,7 +75,7 @@ namespace Components Changelog::LoadChangelog(); if (Terminate) return; - const auto data = Utils::Cache::GetFile("/iw4/motd.txt"); + const auto data = Utils::Cache::GetFile("/info/motd/plain"); if (!data.empty()) { Localization::Set("MPUI_MOTD_TEXT", data); diff --git a/src/Utils/Cache.cpp b/src/Utils/Cache.cpp index d7e6d7dc..ea41fcc0 100644 --- a/src/Utils/Cache.cpp +++ b/src/Utils/Cache.cpp @@ -5,8 +5,8 @@ namespace Utils { const char* Cache::Urls[] = { - "https://raw.githubusercontent.com/diamante0018/iw4x-client", - "https://alterware.dev", + "https://raw.githubusercontent.com/iw4x/iw4x-cache", + "https://iw4x.getserve.rs/v1", }; std::string Cache::ValidUrl;