Skip to content

Commit

Permalink
去掉预埋逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu committed Dec 21, 2018
1 parent d7c8653 commit 1d05f7a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/cos-js-sdk-v5.js
Original file line number Diff line number Diff line change
Expand Up @@ -5966,7 +5966,7 @@ function getAuthorizationAsync(params, callback) {
function allowRetry(err) {
var allowRetry = false;
var isTimeError = false;
var serverDate = err.headers && (err.headers.date || err.headers.Date) || Error.ServerTime || '';
var serverDate = err.headers && (err.headers.date || err.headers.Date) || '';
try {
var errorCode = err.error.Code;
var errorMessage = err.error.Message;
Expand Down
2 changes: 1 addition & 1 deletion dist/cos-js-sdk-v5.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -2106,7 +2106,7 @@ function getAuthorizationAsync(params, callback) {
function allowRetry(err) {
var allowRetry = false;
var isTimeError = false;
var serverDate = (err.headers && (err.headers.date || err.headers.Date)) || Error.ServerTime || '';
var serverDate = (err.headers && (err.headers.date || err.headers.Date)) || '';
try {
var errorCode = err.error.Code;
var errorMessage = err.error.Message;
Expand Down

0 comments on commit 1d05f7a

Please sign in to comment.