Public API down

Due to my Koyeb account banned
This commit is contained in:
FoxRefire 2024-04-19 06:17:55 +09:00
parent 078268b069
commit 38e74dc1d9
2 changed files with 1 additions and 21 deletions

View File

@ -12,11 +12,7 @@
<div id="home">
<form id="wvForm">
<label for="guessr">Guessr API</label>
<input type="text" id="guessr" value="https://proposed-marketa-foxrefire.koyeb.app" disabled/>
<input type="radio" value="public" name="apiType" checked>Public
<input type="radio" value="local" name="apiType">Local
<input type="radio" value="custom" name="apiType">Custom
<br>
<input type="text" id="guessr" value="http://127.0.0.1:18888" /><br>
<label for="pssh">PSSH</label>
<input type="text" id="pssh" disabled/>

View File

@ -14,22 +14,6 @@ function selectRequest(){
document.getElementById('selectRequest').style.display='block';
}
document.querySelectorAll('input[name="apiType"]').forEach(radio => {
radio.addEventListener('change', handleRadioChange);
});
function handleRadioChange(event) {
if (event.target.value=="public"){
document.getElementById('guessr').disabled="true";
document.getElementById('guessr').value="https://proposed-marketa-foxrefire.koyeb.app";
} else if (event.target.value=="local"){
document.getElementById('guessr').disabled="true";
document.getElementById('guessr').value="http://127.0.0.1:18888";
} else if (event.target.value=="custom"){
document.getElementById('guessr').disabled="false";
document.getElementById('guessr').value="";
}
}
async function guess(){
let WVScheme;
switch (document.getElementById('scheme').value) {