diff options
author | Lev Dragunov <l.dragunov@corp.mail.ru> | 2015-06-15 14:39:36 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:51:18 +0300 |
commit | f208323135308ae1297b379ac2d961a1848e1d24 (patch) | |
tree | 495b4244bd7dca7641f65e91a2448aad2bba5662 /defines.hpp | |
parent | 6ae105b37fed2fe1cd7db9ff169d92eddf4d4035 (diff) |
Switch online router URL to production server.
Diffstat (limited to 'defines.hpp')
-rw-r--r-- | defines.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/defines.hpp b/defines.hpp index 53abb95711..35b7223f8f 100644 --- a/defines.hpp +++ b/defines.hpp @@ -30,12 +30,16 @@ #define FTSEG_MAPPING_BACKWARD_INDEX_BITS_EXT ".bftsegbits" #define FEATURES_OFFSETS_TABLE_FILE_EXT ".offsets" -//Secret word to unlock experimental features in production builds +// Secret word to unlock experimental features in production builds. #define ROUTING_SECRET_UNLOCKING_WORD "?pedestrian" #define ROUTING_SECRET_LOCKING_WORD "?vehicle" -// TODO (@ldragunov) change to production server address when we will have one. +// Switch to a development osrm server for online checking of the absent contries. +#ifdef DEV_OSRM_SERVER #define OSRM_ONLINE_SERVER_URL "http://osrm.online.dev.server" +#else +#define OSRM_ONLINE_SERVER_URL "http://osrm.online.server" +#endif #define READY_FILE_EXTENSION ".ready" #define RESUME_FILE_EXTENSION ".resume3" |