Skip to content

Commit 04c50c4

Browse files
committed
chore: change default hosts for querying regions
1 parent 9ffb8f6 commit 04c50c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

qiniu/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
RSF_HOST = 'http://rsf.qbox.me' # 列举操作Host
44
API_HOST = 'http://api.qiniuapi.com' # 数据处理操作Host
55
UC_HOST = 'https://uc.qbox.me' # 获取空间信息Host
6-
QUERY_REGION_HOST = 'https://kodo-config.qiniuapi.com'
6+
QUERY_REGION_HOST = 'https://uc.qiniuapi.com'
77
QUERY_REGION_BACKUP_HOSTS = [
8-
'uc.qbox.me',
9-
'api.qiniu.com'
8+
'kodo-config.qiniuapi.com',
9+
'uc.qbox.me'
1010
]
1111

1212
_BLOCK_SIZE = 1024 * 1024 * 4 # 断点续传分块大小,该参数为接口规格,暂不支持修改

0 commit comments

Comments
 (0)