Обновить example.html
This commit is contained in:
@@ -27,10 +27,9 @@
|
||||
|
||||
document.getElementById('getSecretValue').addEventListener('click', async () => {
|
||||
const userAgent = document.getElementById('userAgent').value || navigator.userAgent;
|
||||
const url = document.getElementById('url').value || window.location.href;
|
||||
|
||||
const serverTs = await fetchServerTimestamp()
|
||||
const secretValue = await get_secret_value(BigInt(serverTs.timestamp), userAgent, url);
|
||||
const secretValue = await get_secret_value(BigInt(serverTs.timestamp), userAgent, '/api/v1/guestlogin');
|
||||
console.log(secretValue)
|
||||
|
||||
document.getElementById('result').innerText = secretValue;
|
||||
|
||||
Reference in New Issue
Block a user