Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ qiniu.compressImage(file, options).then(data => {
};
```

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