diff options
author | Alex Zolotarev <alex@maps.me> | 2015-09-15 17:51:16 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 03:06:39 +0300 |
commit | 0586a1283e50047fd7ddfdf1613253db4fc20f66 (patch) | |
tree | 5db0e6fa7cc63fc18f284f9e359babf90ff7d83a /platform | |
parent | b8b2d7806b69ed13a148d7019f125fd10399ec7b (diff) |
Removed sensitive C++ data.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/platform.cpp | 8 | ||||
-rw-r--r-- | platform/wifi_location_service.cpp | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/platform/platform.cpp b/platform/platform.cpp index 292b75f43f..c34b28a1b9 100644 --- a/platform/platform.cpp +++ b/platform/platform.cpp @@ -11,6 +11,8 @@ #include "std/target_os.hpp" #include "std/thread.hpp" +#include "private.h" + #include <errno.h> // static @@ -71,17 +73,17 @@ string Platform::HashUniqueID(string const & s) string Platform::ResourcesMetaServerUrl() const { - return "http://active.resources.servers.url"; + return RESOURCES_METASERVER_URL; } string Platform::MetaServerUrl() const { - return "http://active.servers.url"; + return METASERVER_URL; } string Platform::DefaultUrlsJSON() const { - return "[\"http://v2s-1.mapswithme.com/\",\"http://v2s-2.mapswithme.com/\",\"http://v2s-3.mapswithme.com/\"]"; + return DEFAULT_URLS_JSON; } void Platform::GetFontNames(FilesList & res) const diff --git a/platform/wifi_location_service.cpp b/platform/wifi_location_service.cpp index 466d214546..cf8c98662a 100644 --- a/platform/wifi_location_service.cpp +++ b/platform/wifi_location_service.cpp @@ -9,7 +9,7 @@ #include "3party/jansson/myjansson.hpp" -#define MWM_GEOLOCATION_SERVER "http://geolocation.server/" +#include "private.h" namespace location |