Public API down
Due to my Koyeb account banned
This commit is contained in:
parent
078268b069
commit
38e74dc1d9
@ -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/>
|
||||
|
16
popup.js
16
popup.js
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user