Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <deathbaba@gmail.com>2012-02-29 22:28:24 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:36:09 +0300
commitd58005340580086d42b6d4bd14480574f32db53b (patch)
treec47e60cc39def737e1c656cc729100325e1f366b /storage
parent899a84a17e0f50431e22f5f91b3bb24b058e9c11 (diff)
Different metaservers for versions with and without search
Diffstat (limited to 'storage')
-rw-r--r--storage/storage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/storage.cpp b/storage/storage.cpp
index f460c8a50b..07d7045684 100644
--- a/storage/storage.cpp
+++ b/storage/storage.cpp
@@ -202,7 +202,7 @@ namespace storage
{
// send Country name for statistics
string const postBody = it->m_fileName;
- m_request.reset(HttpRequest::PostJson(URL_SERVERS_LIST,
+ m_request.reset(HttpRequest::PostJson(GetPlatform().MetaServerUrl(),
postBody,
bind(&Storage::OnServerListDownloaded, this, _1)));
@@ -465,7 +465,7 @@ namespace storage
{
string serverList;
if (!Settings::Get(SETTINGS_SERVERS_KEY, serverList))
- serverList = DEFAULT_SERVERS_JSON;
+ serverList = GetPlatform().DefaultUrlsJSON();
VERIFY(ParseServerList(serverList, urls), ());
}