This commit is contained in:
xiongziliang 2018-12-21 14:46:14 +08:00
parent 1d2398e34d
commit 50e1dddd12

View File

@ -56,7 +56,7 @@ namespace Http {
#define HTTP_PORT 80 #define HTTP_PORT 80
const char kPort[] = HTTP_FIELD"port"; const char kPort[] = HTTP_FIELD"port";
#define HTTPS_PORT 443 #define HTTPS_PORT 443
extern const char kSSLPort[] = HTTP_FIELD"sslport"; const char kSSLPort[] = HTTP_FIELD"sslport";
onceToken token1([](){ onceToken token1([](){
mINI::Instance()[kPort] = HTTP_PORT; mINI::Instance()[kPort] = HTTP_PORT;
mINI::Instance()[kSSLPort] = HTTPS_PORT; mINI::Instance()[kSSLPort] = HTTPS_PORT;