Преглед изворни кода

Reverted back to http instead of https. Https seems to be unstable and unreliable for now.

tags/v1.2.2
Bertrand Lemasle пре 6 година
родитељ
комит
401d5e26d9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      src/config/BackupNetwork.h

+ 1
- 1
src/config/BackupNetwork.h Прегледај датотеку

@@ -6,7 +6,7 @@
#define POSITIONS_CONFIG_NET_DEFAULT_SAVE_THRESHOLD 30 ///< Determines how many positions will be saved before a network backup is needed (only when not moving though).
#define POSITIONS_CONFIG_NET_DEFAULT_APN "Vodafone" ///< APN used for GPRS context
#define POSITIONS_CONFIG_NET_DEFAULT_URL "https://yourserver.com/endpoint" ///< URL to which positions data will be send through an HTTP POST request
#define POSITIONS_CONFIG_NET_DEFAULT_URL "http://yourserver.com/endpoint" ///< URL to which positions data will be send through an HTTP POST request
#define POSITIONS_CONFIG_NET_DEFAULT_EXPECTED_RESPONSE 201 ///< Expected response code from the server that indicates that the positions has been successfully backuped.
/**
\def POSITIONS_CONFIG_NET_DEFAULT_UNAVAILABLE_NETWORK_POSTPONE_THRESHOLD


Loading…
Откажи
Сачувај