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 fea3e21 commit f485cd7Copy full SHA for f485cd7
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