updated some stuff

This commit is contained in:
awex
2021-06-04 03:30:45 -04:00
parent 2a4cb1fb8f
commit 47a28cdd63
7 changed files with 13 additions and 87 deletions
+3 -3
View File
@@ -8,9 +8,9 @@ async function postPlain() {
const username = document.getElementById("medalUsernamept").value
console.log('Username:', username)
const { response } = await fetch(`https://mcwapi.herokuapp.com/clip-check-pt?clipLink=${link}&webhookURL=${webhook}&medalUsername=${username}&caption=${caption}`).then(response => response.json());
const url = `https://mcwapi.herokuapp.com/clip-check-pt?clipLink=${link}&webhookURL=${webhook}&medalUsername=${username}&caption=${caption}`
const { response } = await fetch(url).then(response => response.json());
window.location.replace("https://awexxx.xyz/mcw?status=success");
console.log(response);
}