This commit is contained in:
hexlocation 2024-12-25 15:02:06 +01:00
commit 6e222f7529
Signed by: hex
GPG key ID: A19EFFAAF8C00FCF
5 changed files with 123 additions and 0 deletions

16
public/standard.js Normal file
View file

@ -0,0 +1,16 @@
async function entry() {
var request = await fetch("/entry", {
headers: {
referral: document.getElementById("referral-other").value
}
})
var body = await request.json();
document.getElementById("referral-key").innerText = body.referral;
document.getElementById("private-key").innerText = body.key;
if(body.err) {
document.getElementById("lelelelele").innerHTML = `<h1 style="font-weight:bold;color:red">Do not mess with me.</h1>`
}
}