From df1518c992811ed76edbd493a6008985a4f6a7fc Mon Sep 17 00:00:00 2001 From: chrisftian Date: Fri, 21 Apr 2023 11:43:59 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=BB=98=E8=AE=A4=E5=85=B3=E9=97=ADFol?= =?UTF-8?q?lowRedirect?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- sdk/cos.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 554d2be..a136f29 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cos-nodejs-sdk-v5", - "version": "2.11.20", + "version": "2.12.0", "description": "cos nodejs sdk v5", "main": "index.js", "types": "index.d.ts", diff --git a/sdk/cos.js b/sdk/cos.js index 6fdff07..04c7414 100644 --- a/sdk/cos.js +++ b/sdk/cos.js @@ -39,7 +39,7 @@ var defaultOptions = { Ip: '', StrictSsl: true, KeepAlive: true, - FollowRedirect: true, + FollowRedirect: false, UseAccelerate: false, UserAgent: '', ConfCwd: '',