浏览代码

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


正在加载...
取消
保存