We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18f6d3b commit 057d805Copy full SHA for 057d805
qcloud_cos/lib/conf.js
@@ -21,6 +21,7 @@ exports.API_COS_END_POINT = 'http://web.file.myqcloud.com/files/v1/';
21
22
// timeout单位秒
23
exports.setAppInfo = function(appid, secretId, secretKey, timeout) {
24
+ timeout = timeout || 30;
25
module.exports.APPID = appid;
26
module.exports.SECRET_ID = secretId;
27
module.exports.SECRET_KEY = secretKey;
0 commit comments