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>2011-11-21 20:42:24 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:28:28 +0300
commitf0e8ad486e71e80d3fcf0a7b4b7512c8c617e430 (patch)
treeea81efa4510c4aed218b7147debab7cde91f89da /defines.hpp
parent95b8865bef36bba3d3e08fcf7c28444685586a90 (diff)
Fixed base server urls logic
Diffstat (limited to 'defines.hpp')
-rw-r--r--defines.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/defines.hpp b/defines.hpp
index 2d61c60a48..9a3bdda103 100644
--- a/defines.hpp
+++ b/defines.hpp
@@ -21,13 +21,13 @@
#define PACKED_POLYGONS_FILE "packed_polygons.bin"
#define PACKED_POLYGONS_INFO_TAG "info"
-#define DEFAULT_AUTO_UPDATES_ENABLED true
-
/// How many langs we're supporting on indexing stage
#define MAX_SUPPORTED_LANGUAGES 64
#ifdef OMIM_PRODUCTION
- #error "Please define production server url"
+ #define URL_SERVERS_LIST "http://mapswithme-metaserver.appspot.com/server_data/active_servers"
+ #define DEFAULT_SERVERS_JSON "[\"http://1st.default.server/\",\"http://2nd.default.server/\"]"
#else
- #define URL_SERVERS_LIST "http://melnichek.ath.cx:34568/download.php"
+ #define URL_SERVERS_LIST "http://mwm-dev.appspot.com/server_data/active_servers"
+ #define DEFAULT_SERVERS_JSON "[\"http://svobodu404popugajam.mapswithme.com:34568/maps/\",\"http://svobodu404popugajam.mapswithme.com:34568/maps/\"]"
#endif