yay
This commit is contained in:
commit
6e222f7529
5 changed files with 123 additions and 0 deletions
16
public/standard.js
Normal file
16
public/standard.js
Normal 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>`
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue