diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-07-09 07:48:02 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:40:42 +0300 |
commit | dd6baaa78e212776881e75630a933a04ceab4931 (patch) | |
tree | 7dc00b9b0eec996c942ddf6c62efa67522e573c9 /platform | |
parent | 07c17e4eea564c314cc48f58aebd6c463745a8b7 (diff) |
using separate MetaServer for mandatory resources for better user experience.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/platform.cpp | 5 | ||||
-rw-r--r-- | platform/platform.hpp | 1 |
2 files changed, 6 insertions, 0 deletions
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; |