Skip to content

Commit c84487b

Browse files
author
Yuqi Huang
committed
Keeping clientID short for the media ingestion in the interim
1 parent 96b4a6d commit c84487b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/app.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ function configureLogging() {
7676
function getRandomClientId() {
7777
const timestamp = Date.now().toString(36);
7878
const random = Math.random().toString(36).substring(2);
79-
const uaBase64 = btoa(navigator.userAgent).replace(/\//g, '_').replace(/\+/g, '-').replace(/=/g, '');
80-
return `${timestamp}-${random}-${uaBase64}`;
79+
return `${timestamp}-${random}`;
8180
}
8281

8382
function getTabScopedClientID() {

0 commit comments

Comments
 (0)