Skip to content

Commit

Permalink
Merge pull request #17 from ErzenXz/revert-16-master
Browse files Browse the repository at this point in the history
Revert "Removed CORS request"
  • Loading branch information
ErzenXz committed Feb 9, 2024
2 parents a98ca62 + 8a201db commit f058ed3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions account/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ form.addEventListener("submit", async function (e) {

let turnstile = formData.get("cf-turnstile-response");

const url = "https://authentication.verify.q.erzen.tk/?token=" + turnstile;
const url =
"https://cors.erzengames.workers.dev/https://authentication.verify.q.erzen.tk/?token=" +
turnstile;

const result = await fetch(url).then((response) => response.json());

Expand Down Expand Up @@ -107,7 +109,9 @@ form2.addEventListener("submit", async function (e) {
return;
}

const url = "https://authentication.verify.q.erzen.tk/?token=" + turnstile;
const url =
"https://cors.erzengames.workers.dev/https://authentication.verify.q.erzen.tk/?token=" +
turnstile;

const result = await fetch(url).then((response) => response.json());

Expand Down

0 comments on commit f058ed3

Please sign in to comment.