We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbaf025 commit 87d1b71Copy full SHA for 87d1b71
test/test.js
@@ -38,7 +38,7 @@ var group = function (name, fn) {
38
fn.apply(this, arguments);
39
});
40
};
41
-var proxy = 'http://web-proxy.tencent.com:8080';
+var proxy = '';
42
43
var cos = new COS({
44
SecretId: config.SecretId,
@@ -207,6 +207,7 @@ group('getObjectUrl()', function () {
207
}, function (err, data) {
208
request({
209
url: data.Url,
210
+ proxy: proxy,
211
}, function (err, response, body) {
212
assert.ok(!err, '文件获取出错');
213
assert.ok(response.statusCode === 200, '获取文件 200');
0 commit comments