unsuccessful(unstable and dirty) proxy solution
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user