diff --git a/android/jni/com/mapswithme/maps/DownloadResourcesActivity.cpp b/android/jni/com/mapswithme/maps/DownloadResourcesActivity.cpp index 712f588010..f0880389db 100644 --- a/android/jni/com/mapswithme/maps/DownloadResourcesActivity.cpp +++ b/android/jni/com/mapswithme/maps/DownloadResourcesActivity.cpp @@ -226,7 +226,7 @@ extern "C" CallbackT onProgress(bind(&DownloadFileProgress, jni::make_global_ref(observer), _1)); g_currentRequest.reset(downloader::HttpRequest::PostJson( - GetPlatform().MetaServerUrl(), curFile.m_fileName, + GetPlatform().ResourcesMetaServerUrl(), curFile.m_fileName, bind(&DownloadURLListFinished, _1, onFinish, onProgress))); return ERR_FILE_IN_PROGRESS; diff --git a/platform/platform.cpp b/platform/platform.cpp index ab5bf9fd8c..2ba8d9386e 100644 --- a/platform/platform.cpp +++ b/platform/platform.cpp @@ -31,6 +31,11 @@ string Platform::HashUniqueID(string const & s) return base64::encode(xoredHash); } +string Platform::ResourcesMetaServerUrl() const +{ + return "http://active.resources.servers.url"; +} + string Platform::MetaServerUrl() const { return "http://active.servers.url"; diff --git a/platform/platform.hpp b/platform/platform.hpp index c3b20abfbe..d14acc2595 100644 --- a/platform/platform.hpp +++ b/platform/platform.hpp @@ -123,6 +123,7 @@ public: /// @return url for clients to download maps string MetaServerUrl() const; + string ResourcesMetaServerUrl() const; /// @return JSON-encoded list of urls if metaserver is unreachable string DefaultUrlsJSON() const;