unsuccessful(unstable and dirty) proxy solution

This commit is contained in:
2025-04-29 19:53:50 +03:00
parent c257844fa2
commit 991a4f29a6
12 changed files with 866 additions and 52 deletions

View File

@@ -1,5 +1,9 @@
window.onload = async () => {
let id = (await (await fetch("/api/captcha", {method: "POST"})).json()).id
if (id == undefined) {
alert("Service is unavailable now. Please, try again later.");
return;
}
console.log(id);
fetch(`/api/captcha/${id}`).then(response => response.blob())
.then(blob => {