Skip to content

Commit c3b6184

Browse files
authored
fix description of useCdnDomain default value (#644)
1 parent c36119d commit c3b6184

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ qiniu.compressImage(file, options).then(data => {
215215
};
216216
```
217217

218-
* config.useCdnDomain: 表示是否使用 cdn 加速域名,为布尔值,`true` 表示使用,默认为 `false`
218+
* config.useCdnDomain: 表示是否使用 cdn 加速域名,为布尔值,`true` 表示使用,默认为 `true`
219219
* config.disableStatisticsReport: 是否禁用日志报告,为布尔值,默认为 `false`
220220
* config.uphost: 上传 `host`,类型为 `string[] | string`,如果指定一个非空数组或者非空字符串,则仅使用该数据作为上传 `host`,默认为 `[]`,传入多个 `host` 时,内部会在重试过程中根据情况自动切换不同的 `host`
221221
* config.upprotocol: 自定义上传域名协议,值为 `https` 或者 `http`,默认为 `https`

0 commit comments

Comments
 (0)