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 639abd2 commit 625b94bCopy full SHA for 625b94b
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", new Date().getTime().toString());
+ urlObj.searchParams.set("t", Math.random().toString());
70
xhr.open('GET', urlObj.toString());
71
xhr.ontimeout = function (e) {
72
return reject(errorMessages.AUTH_ENDPOINT_TIMEOUT);
0 commit comments