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.
2 parents fea3e21 + f485cd7 commit 7a4dd43Copy full SHA for 7a4dd43
src/utils/request.ts
@@ -66,7 +66,7 @@ export const generateSignatureToken = (
66
var xhr = new XMLHttpRequest();
67
xhr.timeout = 60000;
68
var urlObj = new URL(authenticationEndpoint);
69
- urlObj.searchParams.set("t", Math.random().toString());
+ urlObj.searchParams.append("t", Math.random().toString());
70
xhr.open('GET', urlObj.toString());
71
xhr.ontimeout = function (e) {
72
return reject(errorMessages.AUTH_ENDPOINT_TIMEOUT);
@@ -128,4 +128,4 @@ export const uploadFile = (
128
};
129
uploadFileXHR.send(formData);
130
});
131
-}
+}
0 commit comments