Skip to content

Commit 408c033

Browse files
committed
https qiniu.com
1 parent 5884179 commit 408c033

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

QiniuSDKTests/QNHttpTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ - (void)testPostHttps {
134134
QNResolver *resolver = [[QNResolver alloc] initWithAddres:@"114.114.115.115"];
135135
QNDnsManager *dns = [[QNDnsManager alloc] init:[NSArray arrayWithObject:resolver] networkInfo:[QNNetworkInfo normal]];
136136
QNHttpManager *httpManager = [[QNHttpManager alloc] initWithTimeout:300 urlConverter:nil dns:nil];
137-
[httpManager post:@"https://uptemp.qbox.me" withData:nil withParams:nil withHeaders:nil withCompleteBlock: ^(QNResponseInfo *info, NSDictionary *resp) {
137+
[httpManager post:@"https://portal.qiniu.com" withData:nil withParams:nil withHeaders:nil withCompleteBlock: ^(QNResponseInfo *info, NSDictionary *resp) {
138138
testInfo = info;
139139
} withProgressBlock:nil withCancelBlock:nil];
140140

QiniuSDKTests/QNSessionTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ - (void)testPostHttps {
157157
QNResolver *resolver = [[QNResolver alloc] initWithAddres:@"114.114.115.115"];
158158
QNDnsManager *dns = [[QNDnsManager alloc] init:[NSArray arrayWithObject:resolver] networkInfo:[QNNetworkInfo normal]];
159159
QNSessionManager *httpManager = [[QNSessionManager alloc] initWithProxy:nil timeout:300 urlConverter:nil dns:nil];
160-
[httpManager post:@"https://uptemp.qbox.me" withData:data withParams:nil withHeaders:nil withCompleteBlock: ^(QNResponseInfo *info, NSDictionary *resp) {
160+
[httpManager post:@"https://portal.qiniu.com" withData:data withParams:nil withHeaders:nil withCompleteBlock: ^(QNResponseInfo *info, NSDictionary *resp) {
161161
testInfo = info;
162162
} withProgressBlock:nil withCancelBlock:nil];
163163

0 commit comments

Comments
 (0)