diff --git a/qiniu/conf.c b/qiniu/conf.c index 0b139805..66427123 100644 --- a/qiniu/conf.c +++ b/qiniu/conf.c @@ -49,13 +49,13 @@ void Qiniu_Use_Zone_Huabei(Qiniu_Bool useHttps) { if (useHttps == Qiniu_True) { QINIU_RS_HOST = "https://rs-z1.qbox.me"; QINIU_RSF_HOST = "https://rsf-z1.qbox.me"; - QINIU_API_HOST = "https://api-z1.qiniu.com"; + QINIU_API_HOST = "https://api.qiniu.com"; QINIU_UP_HOST = "https://up-z1.qiniup.com"; QINIU_IOVIP_HOST = "https://iovip-z1.qbox.me"; } else { QINIU_RS_HOST = "http://rs-z1.qiniu.com"; QINIU_RSF_HOST = "http://rsf-z1.qiniu.com"; - QINIU_API_HOST = "http://api-z1.qiniu.com"; + QINIU_API_HOST = "http://api.qiniu.com"; QINIU_UP_HOST = "http://upload-z1.qiniup.com"; QINIU_IOVIP_HOST = "http://iovip-z1.qbox.me"; } @@ -66,13 +66,13 @@ void Qiniu_Use_Zone_Huanan(Qiniu_Bool useHttps) { if (useHttps == Qiniu_True) { QINIU_RS_HOST = "https://rs-z2.qbox.me"; QINIU_RSF_HOST = "https://rsf-z2.qbox.me"; - QINIU_API_HOST = "https://api-z2.qiniu.com"; + QINIU_API_HOST = "https://api.qiniu.com"; QINIU_UP_HOST = "https://up-z2.qiniup.com"; QINIU_IOVIP_HOST = "https://iovip-z2.qbox.me"; } else { QINIU_RS_HOST = "http://rs-z2.qiniu.com"; QINIU_RSF_HOST = "http://rsf-z2.qiniu.com"; - QINIU_API_HOST = "http://api-z2.qiniu.com"; + QINIU_API_HOST = "http://api.qiniu.com"; QINIU_UP_HOST = "http://upload-z2.qiniup.com"; QINIU_IOVIP_HOST = "http://iovip-z2.qbox.me"; } @@ -83,13 +83,13 @@ QINIU_DLLAPI extern void Qiniu_Use_Zone_Beimei(Qiniu_Bool useHttps) { if (useHttps == Qiniu_True) { QINIU_RS_HOST = "https://rs-na0.qbox.me"; QINIU_RSF_HOST = "https://rsf-na0.qbox.me"; - QINIU_API_HOST = "https://api-na0.qiniu.com"; + QINIU_API_HOST = "https://api.qiniu.com"; QINIU_UP_HOST = "https://up-na0.qiniup.com"; QINIU_IOVIP_HOST = "https://iovip-na0.qbox.me"; } else { QINIU_RS_HOST = "http://rs-na0.qiniu.com"; QINIU_RSF_HOST = "http://rsf-na0.qiniu.com"; - QINIU_API_HOST = "http://api-na0.qiniu.com"; + QINIU_API_HOST = "http://api.qiniu.com"; QINIU_UP_HOST = "http://upload-na0.qiniup.com"; QINIU_IOVIP_HOST = "http://iovip-na0.qbox.me"; } @@ -100,13 +100,13 @@ QINIU_DLLAPI extern void Qiniu_Use_Zone_Dongnanya(Qiniu_Bool useHttps) { if (useHttps == Qiniu_True) { QINIU_RS_HOST = "https://rs-as0.qbox.me"; QINIU_RSF_HOST = "https://rsf-as0.qbox.me"; - QINIU_API_HOST = "https://api-as0.qiniu.com"; + QINIU_API_HOST = "https://api.qiniu.com"; QINIU_UP_HOST = "https://up-as0.qiniup.com"; QINIU_IOVIP_HOST = "https://iovip-as0.qbox.me"; } else { QINIU_RS_HOST = "http://rs-as0.qiniu.com"; QINIU_RSF_HOST = "http://rsf-as0.qiniu.com"; - QINIU_API_HOST = "http://api-as0.qiniu.com"; + QINIU_API_HOST = "http://api.qiniu.com"; QINIU_UP_HOST = "http://upload-as0.qiniup.com"; QINIU_IOVIP_HOST = "http://iovip-as0.qbox.me"; }