Skip to content

Commit df1518c

Browse files
committed
feat: 默认关闭FollowRedirect
1 parent 0ce1503 commit df1518c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cos-nodejs-sdk-v5",
3-
"version": "2.11.20",
3+
"version": "2.12.0",
44
"description": "cos nodejs sdk v5",
55
"main": "index.js",
66
"types": "index.d.ts",

sdk/cos.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var defaultOptions = {
3939
Ip: '',
4040
StrictSsl: true,
4141
KeepAlive: true,
42-
FollowRedirect: true,
42+
FollowRedirect: false,
4343
UseAccelerate: false,
4444
UserAgent: '',
4545
ConfCwd: '',

0 commit comments

Comments
 (0)